UNPKG

@c8y/client

Version:

Client application programming interface to access the Cumulocity IoT-Platform REST services.

36 lines 1.15 kB
import { INamed } from '../core/index.js'; /** Description of ICurrenUser interface */ export interface ICurrentUser { /** Uniquely identifies a user */ id?: string; /** * User name, unique for a given domain. * Max: 1000 characters. Whitespaces, slashes, +$: characters not allowed */ userName: string; /** * User password. Min: 6, max: 32 characters. * Only Latin1 chars allowed */ password?: string; /** Link to this Resource */ self?: string; /** True if user should reset password */ shouldResetPassword?: boolean; /** User email address. */ email?: string; /** User first name. */ firstName?: string; /** User last name. */ lastName?: string; /** User phone number. */ phone?: string; /** The date/time of last password change. */ lastPasswordChange?: string; /** The password strength */ passwordStrength?: string; /** List of all roles a current user has assigned (explicitly or implicitly via associated groups). */ effectiveRoles?: INamed[]; [key: string]: any; } //# sourceMappingURL=ICurrentUser.d.ts.map