uss_getSpecificSetting()
Reads a specific user(group) setting without hierarchy.
Synopsis
int uss_getSpecificSetting(string sPrefix, string sGroupOrUser,string
sSettingName,string &sFormat, dyn_string &dsContent,langString
&lsName);
Parameters
Parameter | Description |
---|---|
sPrefix | _uss = basic setting, _usg = User group, _usr = User |
sGroupOrUser | User or user group name |
sSettingName | Name of a setting |
&sFormat | Format of a setting |
&dsContent | Content of a format |
&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(group) setting without hierarchy.
EXAMPLE
Reads the setting "Timeout_User_Basic" for the group "Operator".
main()
{
int i;
string sPrex ="_usg";
string sGroupOrUser ="Operator";
string sName = "Timeout_User_Basic";
string Form;
dyn_string cont;
langString ls;
i = uss_getSpecificSetting(sPrex,
sGroupOrUser,sName,Form,cont,ls);
DebugN(Form, " ", cont, " ", ls);
}
Assignment
User administration
Availability
CTRL