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

25.05.2023 7:55:10

Please leave your feedback about this article

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.