Information
Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

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



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation Command Line Interface 8.3