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

# RemovePermission

> ABBYY FlexiCapture web services API の RemovePermission メソッドは、指定した Project とバッチタイプにおいて、ロールを使用するためのユーザーまたはグループの権限を取り消します。

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

指定したProjectで、指定したロールを使用するためのユーザーまたはグループの権限を削除します。

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

```
void RemovePermission( int principalId, 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>principalId</p></td><td><p>int</p></td><td><p>ユーザーまたはグループのID</p></td></tr><tr><td><p>projectId</p></td><td><p>int</p></td><td><p>Project ID</p><ul><li>-1 - すべてのProject</li></ul></td></tr><tr><td><p>batchTypeId</p></td><td><p>int</p></td><td><p>バッチID</p><ul><li>-1 - すべてのバッチタイプ</li><li>0 - デフォルトのバッチ</li></ul></td></tr><tr><td><p>roleType</p></td><td><p>int</p></td><td><p>ユーザーロールの種類。<br />使用可能な値については、<a href="/ja/flexi-capture/reports/database/role-type-enum">ユーザーロールの種類</a>を参照してください。</p></td></tr></tbody></table>

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

なし
