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

    IsTemplate: boolean = null

    Whether this user is a template: an account set up to be copied to new users (its pinned apps, views, settings, dashboards and conversations). Explorer warns while a template user is signed 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

    • get OwningProvider(): IMetadataProvider

      The metadata provider that built this Info object, when known.

      Info getters that resolve sibling metadata (an entity's IS-A children, a permission's RLS filter, a query's fields, an authorization's roles, …) must read from the SAME provider the object came from. In a multi-provider process — several GraphQLDataProvider instances with separateConnection, or a server servicing several connections — the global Metadata.Provider is a different provider or not set at all. Providers pass themselves to every Info constructor (new m.class(row, provider)), and container Info objects hand it to the child Info objects they construct.

      undefined for an Info object built outside a provider (tests, ad-hoc construction). Callers then fall back to the global provider, which is exactly the pre-existing behavior.

      Returns IMetadataProvider

    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

      • OptionalskipKeys: ReadonlySet<string>

        Optional set of property keys handled directly by the subclass constructor

      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.

      A _-backed getter that throws is omitted from the output rather than aborting the whole serialization. That omission is safe ONLY because such getters are recomputable: the backing field is a lazy cache over other serialized state (e.g. QueryInfo.CategoryPath over CategoryID), so the value is rebuilt on the next access after a warm boot. Do not add a _-backed getter whose value cannot be recomputed from the serialized fields — a throw would silently drop it.

      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>