usr_deleteSetting()
Deletes a user setting from the configuration management.
Synopsis
int usr_deleteSetting(string sUser,string sSettingName);
Parameters
Parameter | Description |
---|---|
sUser | User |
sSettingName | Name of the setting that is deleted. |
Return value
The function returns 0 when it was executed successfully and in case of errors -1.
Errors
See above.
Description
Deletes a user setting from the configuration management.
EXAMPLE
#uses "uss_userSettings.ctl"
main()
{
string sUser = "John_Doe";
string sSettingName = "PersonalSettings";
int i = usr_deleteSetting(sUser, sSettingName);
DebugN("Deleted the user setting ", i);
}
Assignment
User administration
Availability
CTRL