interface User {
    accountId?: string;
    accountStatus?: AccountStatus;
    accountType?: AccountType;
    displayName?: string;
    email?: string;
    isExternalCollaborator?: boolean;
    personalSpaceId?: string;
    profilePicture?: null | Icon;
    publicName?: string;
    timeZone?: string;
}

Hierarchy

  • Record<string, unknown>
    • User

Properties

accountId?: string

Account ID of the user.

accountStatus?: AccountStatus

The account status of the user.

accountType?: AccountType

The account type of the user.

displayName?: string

Display name of the user.

email?: string

The email address of the user. Depending on the user's privacy setting, this may return an empty string.

isExternalCollaborator?: boolean

Whether the user is an external collaborator.

personalSpaceId?: string

Space ID of the user's personal space. Returns null, if no personal space for the user.

profilePicture?: null | Icon

This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting.

publicName?: string

Public name of the user.

timeZone?: string

Time zone of the user. Depending on the user's privacy setting, this may return null.