@cfxlabsinc/b2b-services
    Preparing search index...

    Service-layer projection of admin.dashboard_user.

    Keyed externally by externalId (adusr_…). The cf_access_sub column is the durable identity key from the Cloudflare Access JWT and is exposed for lookup but never returned through external APIs.

    type AdminDashboardUser = {
        cfAccessSub: string;
        createdAt: Date;
        email: string;
        firstName?: string;
        googleHostedDomain?: string;
        id: string;
        lastName?: string;
        lastSeenAt: Date;
        roleAssignedAt: Date | null;
        roleAssignedByUserId: string | null;
        roleId: string | null;
        status: "ACTIVE" | "DISABLED";
        updatedAt: Date;
    }
    Index

    Properties

    cfAccessSub: string
    createdAt: Date
    email: string
    firstName?: string
    googleHostedDomain?: string
    id: string

    External id (adusr_…).

    lastName?: string
    lastSeenAt: Date
    roleAssignedAt: Date | null
    roleAssignedByUserId: string | null

    External id of the user that assigned the current role, or null.

    roleId: string | null

    External id of the role (role_…), or null when unassigned.

    status: "ACTIVE" | "DISABLED"
    updatedAt: Date