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

# FindUser

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

## What it does

Searches for users by their name.

## Definition

```
int FindUser( string userName );
```

## Parameters

| **Name** | **Type** | **Description** |
| -------- | -------- | --------------- |
| userName | string   | User name       |

## Returned value

| **Type** | **Description** |
| -------- | --------------- |
| int      | User ID         |
