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

# IUserSessionInfo

> IUserSessionInfo returns session details for the current Processing Station user in FlexiCapture scripts: principal ID, role ID, session ID, and user name.

## What it does

Information about the session of the current user of the Processing Station.

During verification, returns information about the session of the user doing the verification (including remote verification).

## Properties

| **Name**    | **Type** | **Access** | **Description**                                                                                                                                                                                                                                       |
| ----------- | -------- | ---------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| PrincipalId | int      | Read-only  | The ID of the user on the Application Server. For the Standalone version of FC, returns **null**.                                                                                                                                                     |
| RoleId      | int      | Read-only  | The ID of the user's role. For the Standalone version of FC, returns **null**.                                                                                                                                                                        |
| SessionId   | int      | Read-only  | The identifier of the connection to the Application Server. For the Standalone version of FC, returns **null**.                                                                                                                                       |
| UserName    | string   | Read-only  | The user name. When working without the Application Server, the name of the user under which the process is running is returned. When connected to the Application Server, tries to retrieve the name of the user logged into the Application Server. |
