What it does

Checks if the specified user role has access permissions to certain batch types.


bool HasRightsForBatchType( int sessionId, int projectId, int batchTypeId, int roleType );


Name Type Description
sessionId int The ID of the connection to the Application Server
projectId int Project ID
batchTypeId int

Batch type ID.

  • 0 - "default" batch type
  • -1 - checks for access permissions to at least one batch type.
roleType int User role. See RoleType for possible values.

Returned value

Type Description
bool Availability of access permissions

13.04.2021 11:12:28

Please leave your feedback about this article