> ## 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 は、FlexiCapture スクリプトで現在の Processing Station ユーザーのセッション情報（principal ID、role ID、session ID、ユーザー名）を返します。

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

現在のユーザーの Processing Station におけるセッション情報です。

検証中は、 (リモート検証を含む) 検証を行っているユーザーのセッション情報を返します。

<div id="properties">
  ## プロパティ
</div>

| **名前**      | **型**  | **アクセス** | **説明**                                                                                                                                 |
| ----------- | ------ | -------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| PrincipalId | int    | 読み取り専用   | Application Server 上のユーザーの ID。FC のスタンドアロン版では、**null** が返されます。                                                                          |
| RoleId      | int    | 読み取り専用   | ユーザーのロールの ID。FC のスタンドアロン版では、**null** が返されます。                                                                                           |
| SessionId   | int    | 読み取り専用   | Application Server への接続の識別子。FC のスタンドアロン版では、**null** が返されます。                                                                            |
| UserName    | string | 読み取り専用   | ユーザー名。Application Server を使用せずに作業している場合は、プロセスの実行ユーザー名が返されます。Application Server に接続している場合は、Application Server にログインしているユーザー名の取得が試行されます。 |
