# User

Audience: Developer

## Services

| Service | Key | Implements |
| --- | --- | --- |
| [management](https://docs.pyck.cloud/dev/api/services/management.md) | value type | [NodeDataType](https://docs.pyck.cloud/dev/api/interfaces/nodedatatype.md) |

## Fields

**Served by:** [management](https://docs.pyck.cloud/dev/api/services/management.md)

| Name | Type | Description |
| --- | --- | --- |
| `id` | ID! |  |
| `createdAt` | [Time](https://docs.pyck.cloud/dev/api/scalars/time.md)! |  |
| `createdBy` | [UUID](https://docs.pyck.cloud/dev/api/scalars/uuid.md)! |  |
| `updatedAt` | [Time](https://docs.pyck.cloud/dev/api/scalars/time.md) |  |
| `updatedBy` | [UUID](https://docs.pyck.cloud/dev/api/scalars/uuid.md) |  |
| `deletedAt` | [Time](https://docs.pyck.cloud/dev/api/scalars/time.md) |  |
| `deletedBy` | [UUID](https://docs.pyck.cloud/dev/api/scalars/uuid.md) |  |
| `tenantID` | ID! |  |
| `idpID` | String! |  |
| `username` | String! |  |
| `email` | String! |  |
| `firstName` | String! |  |
| `lastName` | String! |  |
| `isAdmin` | Boolean! |  |
| `tenant` | [Tenant](https://docs.pyck.cloud/dev/api/types/tenant.md)! |  |
| `principalID` | ID! | The token user id of the person this row projects: DeviceUser.userID and<br>me.UserID hold the same value. A user of several tenants has a row with<br>its own id in each; filter by principalID, not id. |
