CurrentUserData: UserData & {
    abilities?: string[];
    email?: string;
    group?: Group & CurrentGroupData;
    groups?: (Group & CurrentGroupData)[];
    inheritAbilities?: boolean;
    newEmailAddress?: string;
    phone?: string;
}

Type declaration

  • Optional abilities?: string[]

    The abilities granted to the user.

  • Optional email?: string

    The user's email address.

  • Optional group?: Group & CurrentGroupData

    The user's primary group.

  • Optional groups?: (Group & CurrentGroupData)[]

    The user's secondary groups.

  • Optional inheritAbilities?: boolean

    Whether the user should inherit the abilities of his groups.

  • Optional newEmailAddress?: string

    If the user has changed their email address, this is the new one, awaiting verification.

  • Optional phone?: string

    The user's telephone number.