> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GetUserRoles

> 指定したプロジェクト内で現在のユーザーが利用可能なロールの ID を取得するには、ABBYY FlexiCapture API の GetUserRoles を使用します。

<div id="what-it-does">
  ## 機能
</div>

プロジェクトで現在のユーザーが利用できるロールの ID のリストを取得します。

<div id="definition">
  ## 定義
</div>

```
int [] GetUserRoles( int projectId );
```

<div id="parameters">
  ## パラメーター
</div>

| **Name**  | **型** | **説明**                  |
| --------- | ----- | ----------------------- |
| projectId | int   | ID の一覧を取得する対象プロジェクトの ID |

<div id="returned-value">
  ## 戻り値
</div>

| **型**   | **説明**     |
| ------- | ---------- |
| int \[] | ロール ID の配列 |
