Class UserStore

Constructors

Properties

getSecurityGroups: (organization: string) => CancellablePromise<SecurityGroup[]> = ...
isPublicUser?: boolean
isSetupComplete: boolean = false
isSetupError?: Error
loadOrganizations: () => CancellablePromise<void> = ...
loadUserElement: () => CancellablePromise<undefined | null | UserElement> = ...
main: MainStore
organizations?: Organization[]
saveProfile: (
    ...args: [
        data: | ChangePasswordFormData
        | Partial<
            Partial<
                {
                    cn: string;
                    landingPage: string;
                    mail: string;
                    mobile: string;
                    note: string;
                    preferredLanguage: string;
                    sn: string;
                    timezone: string;
                },
            >,
        >,
    ],
) => CancellablePromise<ApiResponse<void, Record<string, string>>> = ...
setOrganization: (id: string) => CancellablePromise<void> = ...
userElement?: null | UserElement
users: Map<string, User> = ...
userSecurityGroups: Map<string, SecurityGroup[]> = ...

Accessors

Methods

  • Parameters

    Returns Promise<void>

  • Returns Promise<undefined | User[]>

  • Returns Promise<void>

  • Parameters

    • oldPassword: string
    • newPassword: string

    Returns Promise<void>

  • Parameters

    Returns undefined | { reference: string; topic: string }