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

# HasRightsToBatchType

> ABBYY FlexiCapture Web Services API の HasRightsForBatchType メソッドは、指定したユーザーロールに、指定したバッチタイプへのアクセス権限があるかどうかを確認します。

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

指定されたユーザーロールに、特定のバッチタイプへのアクセス権限があるかどうかを確認します。

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

```
bool HasRightsForBatchType( int sessionId, int projectId, int batchTypeId, int roleType );
```

<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>sessionId</p></td><td><p>int</p></td><td><p>Application Server への接続 ID</p></td></tr><tr><td><p>projectId</p></td><td><p>int</p></td><td><p>プロジェクト ID</p></td></tr><tr><td><p>batchTypeId</p></td><td><p>int</p></td><td><p>バッチタイプ ID。</p><ul><li><strong>0</strong> - "default" バッチタイプ</li><li><strong>-1</strong> - 少なくとも 1 つのバッチタイプに対するアクセス権限を確認します。</li></ul></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></tbody></table>

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

| **型** | **説明**    |
| ----- | --------- |
| bool  | アクセス権限の有無 |
