GetProjectsForUser

操作

アプリケーションサーバーで、ユーザーのアクセス権限を考慮しながら、プロジェクトに関する情報を取得します。

定義

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

パラメータ

名前 記述
userId int ユーザーID
roleType int ユーザーのロールのID。可能な値については、RoleTypeをご覧ください。

戻り値

記述
Project[]

記録のセットで、それぞれにプロジェクトの一つに関する情報が含まれています。セットは、以下の通り、入力パラメータの値に基づいて作成されます:

  • userId<>0, roleType<>0 指定されたロールの少なくとも1つのバッチ型へのアクセス権限をこのユーザーが持っているプロジェクト
  • userId<>0, roleType=0 少なくとも1つのバッチ型へのアクセス権限をこのユーザーが持っているプロジェクト
  • userId=0, roleType=0 すべてのプロジェクトのリスト
  • userId=0, roleType<>0 空のリスト

12.04.2024 18:16:06

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.