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.

DepotGroup - removePermission


DepotGroup - removePermission

Description :

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

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

Valid authorizations for a depot group are:

  • DepotFolder.Read
  • DepotFolder.Modify
  • DepotFolder.ModifyvaludACL
  • DepotFolder.Delete
  • DepotFolder.Write
  • DepotFolder.*
     Returns the DBKey of the depot group.

    Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

groupName

String

The fully qualified name of the depot group.

roleName

String

Name of the role.

authName

String

Name of the authorization.

Example

The following example shows how to remove the permission consisting of the role "SampleRole" and the authorization "DepotFolder.Read" from a depot group called "/Sample Group".

Script





DepotGroup removePermission "/Sample Group" SampleRole DepotFolder.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