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

# AddTenant

> ABBYY FlexiCapture のテナント管理 API の AddTenant メソッドは、名前、説明、ライセンス設定を指定してテナントを作成し、そのテナント ID を返します。

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

新しいテナントを追加します。

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

```
int AddTenant( string tenantName, string tenantDescription, string licenseNumber, bool canUseCommonLicense );
```

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

| **Name**            | **型**  | **説明**                 |
| ------------------- | ------ | ---------------------- |
| tenantName          | string | テナント名                  |
| tenantDescription   | string | テナントの説明                |
| licenseNumber       | string | テナントのライセンス番号 (必要な場合のみ) |
| canUseCommonLicense | bool   | メインライセンス共有の可否          |

<div id="returned-value">
  ## 返される値
</div>

| **型** | **説明**  |
| ----- | ------- |
| int   | テナント識別子 |

追加されるのはテナントのみです。ユーザーは別途作成する必要があります。最初に作成されたユーザーは、自動的にそのテナントの管理者になります。
