on 08-16-2006 3:16 PM
Hi All,
I creted a WD application to display the user id and the result wii show a number, What does that mean and how can I make it display the user id. The code is
IWDClientUser wdUser = WDClientUser.getCurrentUser();
wdContext.currentContextElement().setHeaderTextwdUser.getClientUserID());
please help
Thanks
Henry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So did this work for ya?
Regards,
Rich Heilman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've done the same with a sample application. Here is some code which helped me.
try {
IWDClientUser user = WDClientUser.getCurrentUser();
if (user.isAnonymousUser()) {
// User is anonymous .. do something...
} else {
String s = null;
s = <b>WDClientUser.getCurrentUser().getSAPUser().getUniqueName();</b>
wdContext.currentContextElement().setUsername(s);
// user is authenticated..do something
}
} catch (WDUMException e) {
// do something...
}
Regards,
Rich Heilman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.