IUpdateUserDetails
[ Interface ]
Version 1.10
export interface IUpdateUserDetails {
domain?: string;
newName?: string;
password?: string;
enabled: boolean;
autoLogout: string;
locale: string;
addGroups?: string[];
removeGroups?: string[];
};
Version 1.12
export interface IUpdateUserDetails {
domain?: string;
newName?: string;
password?: string;
currentPassword?: string;
enabled?: boolean;
autoLogout?: string;
locale?: string;
timeFormatLocale?: string;
timeZone?: string;
addGroups?: string[];
removeGroups?: string[];
};
Change details of the metadata of a user.
Starting with version 1.12, users who are not members of the administrator group can change some of their data themselves.
Properties
Name | Type | Description |
---|---|---|
domain [optional] | User management domain. 'TcHmiUserManagement' if not specified | |
newName | New name of the user. | |
password | New password of the user | |
currentPassword [optional] | Old user password. Required if a user wants to change his password himself. | |
enabled | Specifies whether the user is active; true if not specified | |
autoLogout | Timespan as ISO 8601 timespan string that indicates the time after which the user is logged out. Format: P[JY][MM][WW][TD][T[hH][mM]] Example: " | |
locale | Language settings of the user. | |
timeFormatLocale | Language settings of the user for time/date representations. | |
timeZone | Time zone of the user for time/date representations. | |
addGroups | string[] | Groups in which the user is to become a new member. |
removeGroups | string[] | Groups in which the user is no longer to be a member. |
Available from version 1.10.1018.48 |