Constructs a new instance of the UserInfo class, optionally initializing it with the provided metadata and initial data. If newGlobalRoles are provided, the user roles will be set up to validate against those roles instead of fetching them from the metadata provider.
Unique email address for the user. This field must be unique across all users in the system
Employee's email address
Employee's concatenated first and last name
Foreign key reference to the Employee entity
Name of the employee's supervisor
Email address of the employee's supervisor
Employee's job title
Concatenated first and last name
User's first name or given name
Unique identifier for the user
Whether this user account is currently active and can log in
User's last name or surname
Foreign key reference to the Entities table
ID of the specific record this user is linked to
Type of record this user is linked to (None, Employee, Contact, etc.)
Name of the user that is used in various places in UIs/etc, can be anything including FirstLast, Email, a Handle, etc
User's professional title or salutation
User account type (User, Owner)
Private _Timestamp when the user record was created
Timestamp when the user record was last updated
Gets the roles assigned to this user.
Array of user role assignments
Protected copyCopies initialization data from a plain object to the class instance. Only copies properties that already exist on the class to prevent creating new fields. Special handling for DefaultValue fields to extract actual values from SQL Server syntax.
The initialization data object
A list of all users who have or had access to the system. Contains user profile information, authentication details, and role assignments.