Skip to main content

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

TypeDescription
boolAvailability of access permissions