The OnSetUserPreferences Event is used to store user preferences when setting startup reports or saving interactive html changes as user reports.
For custom code the args array is structured as follows:
args is contains two objects, the first a string with the user preference’s id and the second a string with the user preference’s value.
For .Net Assemblies the method signature is as follows:
void EventHandlerName(SessionInfo sessionInfo, string id, string value)
The event has a void return value.
The event will only be called if the ‘User Preference Storage Method’ is set to Server Events in the User Settings.