uss_getSpecificUserSetting()

Reads a specific user setting with hierarchy.

Synopsis

int uss_getSpecificUserSetting(string sUser, string sSettingName, string &sFormat, dyn_string &sContent,langString &lsName);

Parameters

Parameter Description
sUser User
sSettingName Name of the setting
&sFormat Format of the setting
&sContent Content of the setting
&lsName Full name

Return value

The function returns 0 when it was executed successfully and in case of errors -1.

Errors

See above

Description

Reads a specific user setting 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

Returns the setting Timeout_User_Basic with hierarchy for the user "Operator".

main()
{
  int i;
  string sUser ="Operator";
  string sName = "Timeout_User_Basic";
  string Form;
  dyn_string cont;
  langString ls;
  i = uss_getSpecificUserSetting(sUser,sName,Form,cont,ls);
  DebugN(Form, " ", cont, " ", ls);
}

Assignment

User administration

Availability

CTRL