Hi,
As the topic states, how can we fetch the user license using the Netserver?
The closest we have actually found is the homecountry from SoContext.CurrentPrincipal, but, that does not really work :)
Do we have to use the findagent and fetch the language from userprefference table or something?
All Replies (2)
You can use the lanc/kang/'lang' template variables to pass it to your web app, if you want to retrieve it from the database you can take it from the user preference table, prefsection = 'Functions', prefkey = 'LanguageUICookie'.
Do note that, sadly, not all local user settings are saved to the database, only the language, number date format and e-mail client are. (number and date format is prefkey 'LanguageCookie', E-mail client is 'DefaultMailClient').