Member Junction
    Preparing search index...

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

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    __mj_CreatedAt: Date = null

    Timestamp when the user record was created

    __mj_UpdatedAt: Date = null

    Timestamp when the user record was last updated

    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)

    Accessors

    • get IsMagicLinkAnonymous(): boolean

      True when this request resolves to the shared Anonymous magic-link principal whose roles are synthesized in memory per-session (never persisted, so anonymous sessions can't accrete privileges across links). The server reads this to serve the synthesized UserRoles for the session's own user row instead of the DB query (which returns empty for the role-less shared principal by design). Same getter/setter (non-enumerable) rationale as TenantContext/MagicLinkScope — it is not a database/GraphQL field.

      Returns boolean

    • set IsMagicLinkAnonymous(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    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

    • Default JSON serialization for BaseInfo subclasses.

      Emits all non-underscored direct field declarations. For _-prefixed private backing fields (the MJ pattern for collection storage — e.g. _Fields, _RelatedEntities, _OrganicKeys), emits the value of the corresponding same-named public getter instead. Purely computed getters without a backing field (display-name formatters, derived flags) are intentionally skipped — they can throw when source fields are null and don't belong on the wire anyway.

      Nested BaseInfo instances and arrays of them unwrap automatically via JSON.stringify's native toJSON() protocol.

      Subclasses may override to emit a filtered subset or custom shape (see EntityFieldValueInfo).

      Returns Record<string, unknown>