English (English) - Change language

GetAllowedBatchTypes

What it does

Gets information about batch types within a project which are available to the user with a given role.

Definition

BatchTypeIdentity [] GetAllowedBatchTypes( int userId, int roleType, int projectId );
    

Parameters

Name Type Description
userId int User ID
roleType int The type of role to be used for the connection. See RoleType for possible values.
projectId int

The ID of the project for which to get the list of available batch types.

If invalid projectId is passed (less than or equal to zero), the list of available batch types for all projects is returned.

Returned value

Type Description
BatchTypeIdentity[] A set of records, each containing information about one of available batch types in the project

9/15/2020 9:42:43 AM


Please leave your feedback about this article