Change Privileges (Data Management Tools)
Summary
Establishes or changes user access privileges on the input enterprise database datasets, stand-alone feature classes, or tables.
Usage
To edit enterprise geodatabase datasets, both of the following are required:
The View parameter must be set to Grant view privileges.
The Edit parameter must be set to Grant edit privileges.
Edit privileges are dependent on the view privilege, since you cannot edit what you cannot see (view).
If edit privileges are revoked, you can still view the dataset. However, if view privileges are revoked, edit privileges are automatically revoked as well.
The relational database management system (RDBMS) equivalent command for the View parameter is Select.
The RDBMS equivalent commands for the Edit parameter are Update, Insert, and Delete. All three are granted or revoked simultaneously by the Edit parameter.
The parameter descriptions below use the terms user or username. Database roles can also be used in place of usernames. On RDBMS platforms that support operating system groups, the operating system group can also be specified in place of usernames.
For datasets that are registered as branch versioned, privileges and access are controlled at the portal level. This is managed by sharing items in the organization and the portal user privileges.
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Input Dataset |
The datasets, feature classes, or tables whose access privileges will be changed. |
Layer; Table View; Dataset; Address Locator |
|
User |
The database username whose privileges will be modified. |
String |
|
View (Select) (Optional) |
Specifies the user's view privileges.
|
String |
|
Edit (Update/Insert/Delete) (Optional) |
Specifies the user's edit privileges.
|
String |
Derived output
| Label | Explanation | Data type |
|---|---|---|
|
Updated Dataset |
The updated dataset. |
Layer; Table View; Dataset |
Environments
Licensing information
- Basic: No
- Standard: Yes
- Advanced: Yes