---
title: "UserIdentity"
description: "Who made the call."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Trails API

Who made the call.

## Fields

- `UserIdentity.isRoot` (boolean, required)
- `UserIdentity.accessKeyId` (string | null, optional)
- `UserIdentity.invokedBy` (string | null, optional) — A service event's cause: the public namespace that made the change.
- `UserIdentity.principalId` (string | null, optional)
- `UserIdentity.sessionContext` (one of, optional)
  - one of: [SessionContext](/trails-api/schemas/SessionContext/), `null`
- `UserIdentity.type` (string | null, optional) — User, Bot, Root or EzghService.
- `UserIdentity.userName` (string | null, optional)


Source: https://docs.ezghcloud.com/trails-api/schemas/UserIdentity/index.md
