Impersonation - addApPermission
Impersonation - addApPermission
Description :
This adds a permission (role,authorization) to 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 gives the role SyncAdmins permission to read an automation principal with the name DirAdmin.
Script
Impersonation addApPermission DirAdmin SyncAdmins AutomationPrincipal.Read
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Log in or register to comment.