Interface ICurrentUser

Description of ICurrenUser interface

interface ICurrentUser {
    effectiveRoles?: INamed[];
    email?: string;
    firstName?: string;
    id?: string;
    lastName?: string;
    lastPasswordChange?: string;
    password?: string;
    passwordStrength?: string;
    phone?: string;
    self?: string;
    shouldResetPassword?: boolean;
    userName: string;
}

Properties

effectiveRoles?: INamed[]

List of all roles a current user has assigned (explicitly or implicitly via associated groups).

email?: string

User email address.

firstName?: string

User first name.

id?: string

Uniquely identifies a user

lastName?: string

User last name.

lastPasswordChange?: string

The date/time of last password change.

password?: string

User password. Min: 6, max: 32 characters. Only Latin1 chars allowed

passwordStrength?: string

The password strength

phone?: string

User phone number.

self?: string

Link to this Resource

shouldResetPassword?: boolean

True if user should reset password

userName: string

User name, unique for a given domain. Max: 1000 characters. Whitespaces, slashes, +$: characters not allowed