English (English) - Change language

HasRightsToBatchType

What it does

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

Definition

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

Parameters

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

9/25/2020 9:24:45 AM


Please leave your feedback about this article