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.

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



 

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

BMC Server Automation Command Line Interface 8.3