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.

DepotObject - removePermission

DepotObject - removePermission

Description :

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

You must call this command with a valid authorization name, role name, and depot object. Otherwise this command returns an error. Returns the DBKey of the depot object.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

depotObjectDbKey

DBKey

DBKey of the depot object.

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" the the authorization "BlPackage.Read" from a package with the DBKey SDepotObjectKey:1-1.

Script





DepotObject removePermission SDepotObjectKey:1-1 SampleRole BlPackage.Read 



Was this page helpful? Yes No Submitting... Thank you

Comments