CHANGE_USER_SETTINGS ​
This component call changes the settings of an ADOxx user.
Syntax ​
leo-grammar
CC "UserMgt" CHANGE_USER_SETTINGS user:strValue [ password:strValue ]
[ library:strValue ] [ infotext:strValue ]
[ bpmtk:boolValue ] [ admtk:boolValue ]
[ sub-admin:boolValue]
# --> RESULT ecode:intValue
Parameters ​
user
(strValue) - the name of the user whose settings should be changed.password
(strValue) - the user's login password.library
(strValue) - the name of the application library the user is related to.infotext
(strValue) - the user specific text.bpmtk
(boolValue) - has the user access to the ADOxx Modelling Toolkit? 0 = no, 1 = yes.admtk
(boolValue) - has the user access to the ADOxx Development Toolkit? 0 = no, 1 = yes.sub-admin
(boolValue) - is the system user a Sub-Administrator? 0 = no, 1 = yes.
Returns ​
ecode
(intValue) - contains the error code or is 0 in case of success.
Details ​
This command is available within both the ADOxx Development Toolkit and the ADOxx Modelling Toolkit. In the Modelling Toolkit only users that also have access to the Development Toolkit may call this command!
Examples ​
asc
CC "UserMgt" CHANGE_USER_SETTINGS
user:"Superman" password:"superwomen"
library:"ADOxx-Standard-Library"
infotext:"New text" bpmtk:1 admtk:0
IF (ecode = 0) {
CC "AdoScript" INFOBOX "Usersettings changed successfully!"
} ELSE {
CC "AdoScript" ERRORBOX "Could not apply the usersettings."
}
See Also ​
Versions and Changes ​
Available since ADOxx 1.3