Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi,
How can i assing the language parametr to a user using a script. Because i used the create user script via a button, but i want to assign a specific to that user langauge also. Thanks
Solved! Go to Solution.
Hi El Mehdi, you can use the SetLanguagePreferences service something like this to achieve this
var params = {
preferences: undefined /* STRING */
};
// no return
Users["DemoUser"].SetLanguagePreferences(params);
Hi El Mehdi, you can use the SetLanguagePreferences service something like this to achieve this
var params = {
preferences: undefined /* STRING */
};
// no return
Users["DemoUser"].SetLanguagePreferences(params);
Thanks, it worked.