BlAclTemplate - containsTemplatePermissionProfile


BlAclTemplate - containsTemplatePermissionProfile

Description :

This command checks to see whether an ACL template contains a permission consisting of a role and an authorization profile.

You must call this command with a valid authorization profile namd, 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.

profileName

String

Name of the authorization profile.

Example

The following example shows how to check an ACL template called "Test Template" for the permission containing the role "SampleRole" and the authorization profile "ServerAuths".

Script





BlAclTemplate checkTemplatePermissionProfile "Test Template" SampleRole ServerAuths



 

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

BMC Server Automation Command Line Interface 8.7