You need to sign in to do that
Don't have an account?
bestjamie
How to get user's language in s-control
In Apex class, we use System.UserInfo.getLanguage() to retrieve user's language.
But it doesn't work in the s-control.
How to get this information in s-control?
Thanks all!
You can do it like this :
var GetUserInfoResult=sforce.connection.getUserInfo();
GetUserInfoResult.userLanguage ==> en_US
Thank you very much.
it's very useful.