Representation of the user model in Place

Hierarchy (View Summary)

Constructors

Properties

authority_id: string

ID of the authority associated with the user

building: string

Office building the user is associated

card_number: string

Card Number associated with the user

confirm_password: string = ''

Password

country: string

Country that the user resides in

created_at: number

Unix epoch in seconds of the creation time of the object

department: string

Organisational department the user belongs

email: string

Email address of the user

email_digest: string

Hash of the email address of the user

first_name: string

First name of the user

groups: string[]

Access control groups that user is associated

id: string

Unique Identifier of the object

image: string

Avatar image for the user

last_name: string

Last name of the user

login_name: string

Username credential of the user

metadata: string

Additional metadata associated with the user

name: string

Human readable name of the object

password: string = ''

Password

phone: string

Phone number of the user

staff_id: string

Organisation ID of the user

support: boolean

Whether user is a support role

sys_admin: boolean

Whether user is a system admin role

ui_theme: string

Name of the active theme on the displayed UI

updated_at: number

Unix epoch in seconds of the creation time of the object

version: number

Version of the data

work_overrides: Record<string, WorktimePreference>

Overrides of the worktime preferences for the user

work_preferences: WorktimePreference[]

Default worktime preferences for the user

Methods