---
title: Permission Entity (2022/06)
slug: develop/permission-entity-202206
docTags: 
createdAt: 2025-03-11T07:03:30.743Z
---

The Permission entity is structured as follows:

`entity`:

- `EntityId` <font color="#704ae0">int?</font> <font color="#01a0af">read-write</font>: This identifier is equal to the parent’s entity instance id.
- `OperationUID` <font color="#704ae0">string</font> <font color="#01a0af">read-write</font>: The unique identifier for the operation
- `Principal` <font color="#704ae0">Principal</font> <font color="#01a0af">read-write</font>: 
  - `name` <font color="#704ae0">string</font> <font color="#01a0af">read-write</font>: The name associated with the permissions (for example, "Custom Administrators")
  - `isCustom` <font color="#704ae0">bool</font> <font color="#01a0af">read-write</font>: Whether or not this is a custom role
  - `type` <font color="#704ae0">PrincipalType</font> <font color="#01a0af">read-write</font>: 
    - `User` <font color="#01a0af">read-write</font>: When the type is user, "name" is login
    - `Role` <font color="#01a0af">read-write</font>: When the type is role, "name" is role
  - `id` <font color="#704ae0">int</font> <font color="#01a0af">read-write</font>: The id associated with the permissions
- `IsFixed` <font color="#704ae0">bool</font> <font color="#01a0af">read-only</font>: Indicates if the entity permissions are editable by the customer or not
- `IsInherited` <font color="#704ae0">bool</font> <font color="#01a0af">read-only</font>: If true, the entity permissions are inherited
- `IsAllowed` <font color="#704ae0">bool</font> <font color="#01a0af">read-write</font>: Allows or denies permissions to perform a given operation
- `CreationDate` <font color="#704ae0">DateTime</font> <font color="#01a0af">read-only</font>: The date that the entity permissions were created. See [DateTime](docId\:dX1C8uSfkXPwntpRb9f-T) for more information about this data type.

