BlAclPolicy - containsPolicyPermission
BlAclPolicy - containsPolicyPermission
Description :
This command checks to see whether an ACL policy 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 policy name. Otherwise this command returns an error. Returns True if the ACL policy contains the permission, False otherwise.
Return type : Boolean
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
name | String | Name of the ACL policy. |
roleName | String | Name of the role. |
authName | String | Name of the authorization. |
Example
The following example shows how to check an ACL policy called "Test Policy" for the permission containing role "RoleA" and authorization "Server.Read".
Script
BlAclPolicy containsPolicyPermission "Test Policy" RoleA Server.Read