on 12-04-2004 10:10 AM
I know that WebDynpro is somehow timezone-sensitive. But can I query the API for the current user's timezone?
Regards
Bruno
Hi Bruno,
While creating the user in the UME make sure that you set the Timezone and then use the code below to get the TimeZone of the user.
<i>IWDClientUser wdUser = WDClientUser.getCurrentUser();
IUser user = wdUser.getSAPUser();
if(user != null){
// code for authenticated user
Timezone tz = user.getTimezone();
......
}
else{
// code for anonymous user
}</i>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please try to set the user locale and get the time zone.
Thanks and Regards,
Sam Mathew
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.