Option | Argument | Description |
---|---|---|
-o | object_type | Required. Type of the object for which you want to manage permissions. You can specify folder, label, deploymentgroup, query, or connection. |
-t | object_subtype | Optional. Type of connection object or query. Not required for other object types. For more information about valid subtypes, see AssignPermission. |
-n | object_name | Required. Name of the object for which you want to manage permissions. You can use special characters for the object name. |
-u | user_name | Required if you do not use the -g option. Name of the user for whom you want to add, remove, or update permissions. Use the -u or -g option, not both. |
-g | group_name | Name of the group for which you want to add, remove, or update permissions. Specify “Others” as the group name to change permissions for the Others default group. Use the -u or -g option, but not both. You can use special characters for the group name. |
-s | security_domain | Required if you use LDAP authentication. Name of the security domain that the user or group belongs to. Default is Native. |
-p | permission | Required. Permissions you want to add, remove, or update. You assign read, write and execute permission on a global object. Use the characters r, w, and x to assign read, write, and execute permissions. |
Object Type | Object Subtype |
---|---|
Query | Shared |
Query | Personal |
Connection | Application |
Connection | FTP |
Connection | Loader |
Connection | Queue |
Connection | Relational |