Impersonation - removeApPermission
Impersonation - removeApPermission
Description :
This command removes a permission (role,authorization) from an automation principal. This command returns the ACL object.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
apName | String | Name of the automation principal. |
roleName | String | Name of the role. |
authName | String | Name of the authorization. |
Example
The following example remove the permission to read an automation principal named DirAdmin from role SyncAdmins.
Script
Impersonation removeApPermission DirAdmin SyncAdmins AutomationPrincipal.Read
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*