How can I retrieve the language on a specific user in script

demgnekamdem
Tera Contributor

Hi all,

I know that the script gs.getSession().getLanguage() allow to retrieve the current user's language. But I want to retrieve the language of a specific user in script. Example, How can I retrieve the Fred LUDDY 's language in script ?

Thanks in advance,

Carole 

5 REPLIES 5

This works in global scope šŸ‘

 

getUserByID is not a method of scoped GlideUser, so for scoped apps we'd need an alternative.