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

# IPrincipal

> IPrincipal represents a user or user group in ABBYY FlexiCapture scripts, exposing the unique identifier, name, and principal type used in routing.

## What it does

Represents a user or a user group in scripts.

## Properties

| **Name** | **Type**                                                         | **Access** | **Description**               |
| -------- | ---------------------------------------------------------------- | ---------- | ----------------------------- |
| Id       | int                                                              | Read-only  | A unique identifier           |
| Name     | string                                                           | Read-only  | The name of a user or a group |
| Type     | [TPrincipalType](/flexi-capture/appendix/scripts/tprincipaltype) | Read-only  | The type of principal         |
