Template - applyAclPolicy

Template - applyAclPolicy

Description :

This command applies an ACL policy to a template.

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

templateKey

DBKey

Template 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 Template with DB Key "Template DB Key".

Script





Template applyAclPolicy "Template DB Key" "Test Policy" 



Was this page helpful? Yes No Submitting... Thank you

Comments