ServerGroup - applyAclPolicy
ServerGroup - applyAclPolicy
Description :
This command applies an ACL policy to a Server Group.
Returns the DBKey of the modified object.
This command works only on static server groups. For smart server groups, use the corresponding Group-applyAclPolicy with modelType 5007 (SMART_SERVER_GROUP).
When an ACL policy is applied to an object, all access checks on that object will check both the permissions in its ACL along with the permissions of the associated ACL policy.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
groupName | String | The fully qualified name of the server group. |
policyName | String | Name of the ACL policy to use. |
Example
The following example shows how to apply the ACL policy called "Test Policy" to the Server Group with name "Server Group".
Script
ServerGroup applyAclPolicy "Server Group" "Test Policy"
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*