ServerGroup - removeAclPolicy
ServerGroup - removeAclPolicy
Description :
This command removes an ACL policy from 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-removeAclPolicy with modelType 5007 (SMART_SERVER_GROUP).
When an ACL policy is removed from an object, all access checks through that object's ACL will no longer check against the internal ACL of the ACL policy that was removed. No checks are made to make sure one does not lock themselves out of an object by removing a 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 remove. |
Example
The following example shows how to remove an ACL policy called "Test Policy" from the Server Group named "Server Group".
Script