uss_getUserSettings()
Reads all user settings with hierarchy.
Synopsis
int uss_getUserSettings(string sUser,
dyn_string&dsSettingNames,
dyn_string &dsFormat,dyn_dyn_anytype &ddaContent);
Parameters
Parameter | Description |
---|---|
sUser | User |
&dsSettingName | List of all settings |
&dsFormat | List of all formats |
&ddaContent | Contents of all settings |
Return value
The function returns 0 when it was executed successfully and in case of errors -1.
Errors
See above
Description
Reads all user settings with hierarchy. Hierarchy means that the function returns the user setting if it is available and otherwise the user group setting or basic setting.
EXAMPLe
Reads all user settings with hierarchy for the user "guest".
main()
{
int i;
string su="guest";
dyn_string set, form;
dyn_dyn_anytype cont;
i= uss_getUserSettings(su,set,form,cont);
DebugN("User settings:", set, " ", form," ", cont);
}
Assignment
User Management
Availability
CTRL