@dasch-swiss/dsp-js
Version:
JavaScript library that handles API requests to Knora
40 lines (39 loc) • 842 B
TypeScript
/**
* Represents a Knora user.
*
* @category Model Admin
*/
export declare class User {
/**
* The email address and login name of a user.
*/
email: string;
/**
* The user's family name.
*/
familyName: string;
/**
* The user's given name.
*/
givenName: string;
/**
* The ISO 639-1 code of the user's preferred language.
*/
lang: string;
/**
* An encrypted credential for access
*/
password?: string;
/**
* The status of the user / group / project. It is false if the entity has been deactivated (deleted).
*/
status: boolean;
/**
* Exists and is true if the user is a member of the SystemAdmin group.
*/
systemAdmin?: boolean;
/**
* The username and login name of a user.
*/
username: string;
}