CreateTenantUserRequest
DTO for creating a user within a tenant. Inherits update fields and adds email/name for creation.
Properties
| Name | Type | Description |
|---|---|---|
| roleType | enum | System Custom |
System Custom | ||
| roleId | integer | The ID of the custom role (only used if RoleType is Custom) |
The ID of the custom role (only used if RoleType is Custom) | ||
| systemRoleType | enum | Admin Manager User Viewer |
Admin Manager User Viewer | ||
| isClientManager | boolean | Whether the user is a client manager within the tenant |
Whether the user is a client manager within the tenant | ||
| isPartner | boolean | Whether the user is a partner within the tenant |
Whether the user is a partner within the tenant | ||
| isAssociate | boolean | Whether the user is an associate within the tenant |
Whether the user is an associate within the tenant | ||
| email* | string | |
| firstName | string | The user's first name (required for creating new users) |
The user's first name (required for creating new users) | ||
| lastName | string | The user's last name (required for creating new users) |
The user's last name (required for creating new users) | ||
JSON Example
{
"roleType": "System",
"roleId": 0,
"systemRoleType": "Admin",
"isClientManager": false,
"isPartner": false,
"email": "user@example.com"
}