Represents basic user information.

interface IUserInfo {
    contacts: UserInfoContact[];
    department: null | string;
    id: string;
    info?: null | IStorage;
    name: string;
    position: null | string;
    clone(): IUserInfo;
    deserializeFromStorage(
        storage: IStorage,
        context?: StorageSerializableContext,
    ): this;
    serializeToStorage(
        storage?: IStorage,
        context?: StorageSerializableContext,
    ): IStorage;
}

Hierarchy (View Summary)

Implemented by

Properties

contacts: UserInfoContact[]

A collection of the user's contact information entries.

department: null | string

The user department.

id: string

The user identifier.

info?: null | IStorage

Additional user-related information as key-value pairs.

name: string

The user name.

position: null | string

The user position or job title.

Methods

  • Создает новый объект, который является копией текущего экземпляра.

    Returns IUserInfo