interface User {
    accountRootUserId: string;
    createdAt?: Date;
    deletable: boolean;
    email: string;
    id: string;
    lastLoginAt?: Date;
    locked: boolean;
    mfa: boolean;
    organizationId: string;
    status: UserStatus;
    tags: string[];
    twoFactorEnabled?: boolean;
    type: UserType;
    updatedAt?: Date;
    username: string;
}

Properties

accountRootUserId: string

ID of the account root user associated with the user.

createdAt?: Date

Date user was created.

deletable: boolean

Deletion status of user. Owners cannot be deleted.

email: string

Email of user.

id: string

ID of user.

lastLoginAt?: Date

Date of the last login.

locked: boolean

Defines whether the user is locked.

mfa: boolean

Defines whether MFA is enabled.

organizationId: string

ID of the Organization.

status: UserStatus

Status of user invitation.

tags: string[]

Tags associated with the user.

twoFactorEnabled?: boolean

Deprecated, use "mfa" instead.

type: UserType

Type of user.

updatedAt?: Date

Date of last user update.

username: string

User identifier unique to the Organization.