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.

Component - removeAclPolicy


Component - removeAclPolicy

Description :

This command removes an ACL policy from a component.

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. Returns the DBKey of the modified object.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

componentKey

DBKey

Component Key.

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 Component with DB Key "Component DB Key".

Script





Component removeAclPolicy "Component DB Key" "Test Policy"



 

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

BMC Server Automation Command Line Interface 8.5