The OnGetUserPreferences Event is used to retrieve user preferences when entering the application and when editing/executing reports.
For custom code the args array is structured as follows:
args contains one object, a string with the user preference’s id.
For .Net Assemblies the method signature is as follows:
string EventHandlerName(SessionInfo sessionInfo, string id)
Expects a string return value, which represents the user preference’s value.
The event will only be called if the ‘User Preference Storage Method’ is set to Server Events in the User Settings.