DepotObject - applyAclPolicy
DepotObject - applyAclPolicy
Description :
This command applies an ACL policy to a depot object.
When an ACL policy is applied to an object, all access checks on that object will check both the permissions in its ACL along with the permissions of the associated ACL policy. Returns the DBKey of the modified object.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
depotObjectKey | DBKey | DepotObject Key. |
policyName | String | Name of the ACL policy to use. |
Example
The following example shows how to apply the ACL policy called "Test Policy" to the Depot Object with DB Key "Depot Object DB Key".
Script
DepotObject applyAclPolicy "Depot Object DB Key" "Test Policy"
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*