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.

BlAclPolicy - removePermission


BlAclPolicy - removePermission

Description :

This command removes a permission entry from the ACL controlling access to an ACL policy. A permission consists of a role and an authorization.

You must call this command with a valid authorization name, role name, and ACL policy name. Otherwise this command returns an error.

Valid authorizations for an ACL policy are:

  • ACLPolicy.Read
  • ACLPolicy.Modify
  • ACLPolicy.ModifyACL
  • ACLPolicy.Delete
  • ACLPolicy.*
     Returns the DBKey of the ACL policy.

    Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

name

String

Name of the ACL policy.

roleName

String

Name of the role.

authName

String

Name of the authorization.

Example

The following example shows how to remove a permission consisting of the role "SampleRole" and the authorization "ACLPolicy.Read" from an ACL policy called "Test Policy".

Script





BlAclPolicy removePermission "Test Policy" SampleRole ACLPolicy.Read



 

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

BMC Server Automation Command Line Interface 8.5