BlAclTemplate - containsTemplatePermission
BlAclTemplate - containsTemplatePermission
Description :
This command checks to see whether an ACL template contains a permission. A permission consists of a role and an authorization.
You must call this command with a valid authorization name, role name, and ACL template name. Otherwise this command returns an error. Returns True if the ACL template contains the permission, False otherwise.
Return type : Boolean
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
name | String | Name of the ACL template. |
roleName | String | Name of the role. |
authName | String | Name of the authorization. |
Example
The following example shows how to check an ACL template called "Test Template" for the permission containing role "RoleA" and authorization "Server.Read".
Script
BlAclTemplate containsTemplatePermission "Test Template" RoleA Server.Read