A list of all users who have or had access to the system. Contains user profile information, authentication details, and role assignments.

Hierarchy (view full)

Constructors

  • 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.

    Parameters

    Returns UserInfo

Properties

Email: string = null

Unique email address for the user. This field must be unique across all users in the system

EmployeeEmail: string = null

Employee's email address

EmployeeFirstLast: string = null

Employee's concatenated first and last name

EmployeeID: number = null

Foreign key reference to the Employee entity

EmployeeSupervisor: string = null

Name of the employee's supervisor

EmployeeSupervisorEmail: string = null

Email address of the employee's supervisor

EmployeeTitle: string = null

Employee's job title

FirstLast: string = null

Concatenated first and last name

FirstName: string = null

User's first name or given name

ID: string = null

Unique identifier for the user

IsActive: boolean = null

Whether this user account is currently active and can log in

LastName: string = null

User's last name or surname

LinkedEntityID: number = null

Foreign key reference to the Entities table

LinkedEntityRecordID: number = null

ID of the specific record this user is linked to

LinkedRecordType: "None" | "Employee" | "Other" = null

Type of record this user is linked to (None, Employee, Contact, etc.)

Name: string = null

Name of the user that is used in various places in UIs/etc, can be anything including FirstLast, Email, a Handle, etc

Title: string = null

User's professional title or salutation

Type: string = null

User account type (User, Owner)

_UserRoles: UserRoleInfo[] = []
__mj_CreatedAt: Date = null

Timestamp when the user record was created

__mj_UpdatedAt: Date = null

Timestamp when the user record was last updated

Accessors

Methods

  • Copies 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.

    Parameters

    • initData: any

      The initialization data object

    Returns void