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.

Group - applyAclPolicy


Group - applyAclPolicy

Description :

This command applies an ACL policy to a group.

For modelType, use one of the integers listed in addPermission . Returns a handle to the modified object.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

groupName

String

Fully qualified name of the group.

modelType

Integer

Internal type of the group.

policyName

String

Name of the ACL policy to use.

Example

The following example shows you how to apply an ACL policy to a group.

Script


# Name of the existing job group.

GROUP_NAME="/parent/jobgroup1"

# Integer indicating model type for a job group - 5005

MODEL_TYPE=5005

# Name of the policy.

POLICY_NAME="myPolicy"

#Now apply the ACL policy to the job group.

`blcli Group applyAclPolicy $GROUP_NAME $MODEL_TYPE $POLICY_NAME`



 

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

BMC Server Automation Command Line Interface 8.5