GetProjectsForUser

What it does

Gets information about the projects on the Application Server, taking into account a user's access permissions.

Definition

Project [] GetProjectsForUser( int userId, int roleType );

Parameters

Name Type Description
userId int User ID
roleType int The ID of the user's role type. See RoleType for possible values.

Returned value

Type Description
Project[]

A set of records, each of which contains information about one of the projects. The set is created based on the values of the input parameters as follows:

  • userId<>0, roleType<>0 the projects where this user has access permissions to at least one of the batch types for the specified role
  • userId<>0, roleType=0 the projects where this user has some access permissions to at least one of the batch types
  • userId=0, roleType=0 the list of all projects
  • userId=0, roleType<>0 empty list

25.05.2023 7:55:02

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.