on 09-23-2008 7:40 AM
Hi,
I'm retreving portal user information from WD4A.
Im succesfully getting the User Id but not the Logon Language .
I'm doing this way.
USER=<User.LogonUid>&LANG=<User.LogonLanguage>
Here Language is not shown.
How to know the Application paramters for the Language.
Regards
Lekha
Hi Lekha!
You can try with something like this:
import java.util.Locale;
import com.sap.security.api.IUser;
...
IUser me = request.getUser();
Locale languagenow = me.getLocale();
...
if(languagenow == null){
System.err.println("languagenow is null *****");
}else{
System.err.println("The language of your system is : " + languagenow);
}
I hope it helps you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
sap_language
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if you have problem, maybe you can try like:
...
IUser me = componentRequest.getUser();
Locale languagenow = me.getLocale();
...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.