uss_getGenericSetting()
Reads all user or user group settings without hierarchy.
Synopsis
int uss_getGenericSetting(char cType, string sUserOrGroupName,
dyn_string &dsSettingName, dyn_dyn_anytype&ddaContent);
Parameters
| Parameter | Description | 
|---|---|
| cType | 'G' = Group, 'U' = User | 
| sUserOrGroupName | Name of the (user) group | 
| &dsSettingName | List of all settings | 
| &ddaContent | Content 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 or user group settings without hierarchy.
EXAMPLE
Reads all settings and contents for the user guest.
main()
{
  int i;
  char c = 'U';
  string n = "guest";
  dyn_string sn;
  dyn_dyn_anytype ac;
  i = uss_getGenericSetting(c, n,sn,ac); 
  DebugN("Settings:", sn, "", ac);
}
        Assignment
User Management
Availability
CTRL