Global Event: OnGetUserPreferences
The OnGetUserPreferences Event is used to retrieve user preferences when entering the application and when editing/executing reports.
Signature
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)
Expected Return
Expects a string return value, which represents the user preference’s value.
Notes
The event will only be called if the ‘User Preference Storage Method’ is set to Server Events in the User Settings