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

# FindTenant

> FindTenant method in the ABBYY FlexiCapture tenant management API searches for a tenant by name and returns the matching tenant ID as an integer value.

## What it does

Searches for tenants by their name.

## Definition

```
int FindTenant( string tenantName );
```

## Parameters

| **Name**   | **Type** | **Description** |
| ---------- | -------- | --------------- |
| tenantName | string   | Tenant name     |

## Returned value

| **Type** | **Description** |
| -------- | --------------- |
| int      | Tenant ID       |
