API Docs / Schemas / TenantUserDto

TenantUserDto

DTO for a user within a tenant, including their role and basic information.

Properties

Name Type Description
codestring

The unique code for this user within the tenant

The unique code for this user within the tenant

displayNamestring

The display name for the user (returns full name if available, otherwise email)

The display name for the user (returns full name if available, otherwise email)

emailstring

The user's email address

The user's email address

firstNamestring

The user's first name

The user's first name

lastNamestring

The user's last name

The user's last name

isSuperAdminboolean

Whether the user is a super admin

Whether the user is a super admin

isSupportAccessboolean

Whether this user is accessing the tenant via support access (not a regular team member)

Whether this user is accessing the tenant via support access (not a regular team member)

avatarstring

The user's avatar URL

The user's avatar URL

userCodestring

The global user code, for linking to admin user records

The global user code, for linking to admin user records

lastLoginstring

The user's last login timestamp

The user's last login timestamp

authProviderstring

The authentication provider type (Local, Auth0, Google, Facebook, Xero)

The authentication provider type (Local, Auth0, Google, Facebook, Xero)

statusenum

Created Invited Active Disabled Declined Deleted

Created Invited Active Disabled Declined Deleted

invitationExpiresOnstring

When the invitation expires (null if not invited or if joined directly)

When the invitation expires (null if not invited or if joined directly)

invitationAcceptedAtstring

When the invitation was accepted (null if still pending)

When the invitation was accepted (null if still pending)

tenantTenantInfo

JSON Example

{
  "code": "string",
  "displayName": "string",
  "email": "user@example.com",
  "firstName": "string",
  "lastName": "string"
}

Used By Operations

Contained in Schemas