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`
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Log in or register to comment.