on 03-12-2008 7:11 AM
Hi Gurus
Can any one please send the code for Getting Portal User id in Webdynpro application.
and can we see the SAP USer Ids in the Webdynpro applications?
Regards
DS
Hi,
Using UMEfactory u can do that...
1. create one input field,
2. create one attribute called Uid
3. assign Uid attribute to the input field
4. type the following code in Doinit() method
String uid = wdContext.currentContextElement().getUid();
try {
IUser user = UMFactory.getUserFactory().
getUserByLogonID(uid);
String userName = user.getDisplayName();
} catch (UMException ex) {
e.toString();
}*/
5. after that go to Portal create one iview assign to particular user. then u get into the user details...
thats it
Regards,
P.Manivannan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All/Mani,
I found different types of code...some one mentined code like that
IWDClientUser user=WDClientUser.getCurrentUSer();
and some mention like
IUser user = UMFactory.getUserFactory().
String userName = user.getDisplayName();
String email = user.getEmail();
what is the differnece b/w those codes...
Regards
DS.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
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.