BlAclTemplate - addTemplatePermissionProfile
BlAclTemplate - addTemplatePermissionProfile
Description :
This command adds a permission entry consisting of a role and and authorization profile to an ACL template. Important: This command is adding a permission to the internal ACL that defines the template, not to the ACL that controls access to this template.
You must call this command with a valid authorization profile name, role name, and ACL template name. Otherwise this command returns an error. Returns the DBKey of the ACL template.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
name | String | Name of the ACL template. |
roleName | String | Name of the role. |
profileName | String | Name of the authorization profile. |
Example
The following example shows how to add a permission consisting of the role "SampleRole" and the authorization profile "ServerAuths" to an ACL template called "Test Template".
Script
BlAclTemplate addTemplatePermissionProfile "Test Template" SampleRole ServerAuths