> ## 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.

# GetAllowedBatchTypes

> ABBYY FlexiCapture Web Services API の GetAllowedBatchTypes メソッドは、指定したロールのユーザーがプロジェクト内で利用できるバッチタイプを返します。

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

指定したロールのユーザーが利用できる、プロジェクト内のバッチタイプに関する情報を取得します。

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

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

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

<table width="100%"><tbody><tr><td><p><strong>名前</strong></p></td><td><p><strong>型</strong></p></td><td><p><strong>説明</strong></p></td></tr><tr><td><p>userId</p></td><td><p>int</p></td><td><p>ユーザー ID</p></td></tr><tr><td><p>roleType</p></td><td><p>int</p></td><td><p>接続に使用するロールの種類です。使用可能な値については、<a href="/ja/flexi-capture/api/structures/t-role-type">RoleType</a> を参照してください。</p></td></tr><tr><td><p>projectId</p></td><td><p>int</p></td><td><p>利用可能なバッチタイプの一覧を取得する対象プロジェクトの ID です。</p><p>無効な projectId (0 以下) が渡された場合は、すべてのプロジェクトで利用可能なバッチタイプの一覧が返されます。</p></td></tr></tbody></table>

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

| **型**                                                                        | **説明**                            |
| ---------------------------------------------------------------------------- | --------------------------------- |
| [BatchTypeIdentity](/ja/flexi-capture/api/structures/batch-type-identity)\[] | プロジェクトで利用可能な各バッチタイプの情報を含むレコードのセット |
