What it does

Removes user or group permissions to use the specified role in the specified project.


void RemovePermission( int principalId, int projectId, int batchTypeId, int roleType );


Name Type Description
principalId int User or group ID
projectId int

Project ID

  • -1 - all projects
batchTypeId int

Batch ID

  • -1 - all batch types
  • 0 - batch by default
roleType int User role type.
For possible values, see User role types.

Returned value


15.03.2021 9:22:24

Please leave your feedback about this article