Use the Data Object editor to modify privileges for roles.
Procedure
To modify database roles:
- Right-click a role in the Data Source Explorer (or
the Object List for products that include this view), and select Alter.
- Modify the privileges for the role in the Data
Object Properties section of the editor.
- Expand the DDL section of the editor,
and click Preview DDL.
If you
make additional changes in the Data Object Properties or Impacted
Objects sections, you must click Preview DDL again
to refresh the generated script.
You cannot type directly in
the DDL section of the editor. If you want to modify the generated
DDL script, you can click Open with SQL editor to
open the script in the SQL editor, where you can make changes and
save the script to an
existing data project. You can also use this option to save your
changes to an SQL script that you can run later.
Results
The generated DDL script is run on the database. The Data
Output view displays the results, including any errors that occurred.
To view the changed properties for a role, highlight the role in the
explorer and open the Properties view.