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

# AddToGroup

> ABBYY FlexiCapture のグループ管理 API の AddToGroup メソッドは、principal ID と Group ID を使用して、指定したグループにユーザーまたは入れ子のグループを追加します。

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

指定したグループに、ユーザーとグループを追加します。

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

```
void AddToGroup( int principalId, int groupId );
```

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

| **Name**    | **型** | **説明**          |
| ----------- | ----- | --------------- |
| principalId | int   | ユーザーまたはグループの ID |
| groupId     | int   | グループの Group ID  |

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

なし
