ExtendedObjectClass - removeAclPolicy
ExtendedObjectClass - removeAclPolicy
Description :
This command removes an ACL policy from an extended object class.
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.
For osNshName, use one of the operating system names listed in addIconAssociation . Returns the DBKey of the modified object.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
extendedObjectName | String | Name of the extended object class. |
osNshName | String | NSH name of the associated operating system. |
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 Extended Object Class named "Extended Object Class".
Script
ExtendedObjectClass removeAclPolicy "Extended Object Class" "OS Name" "Test Policy"