on 05-16-2005 2:59 PM
Hi,
I have created additional fields to the user profile (ume.admin.addattrs). That works fine!
How can I access them in a web dynpro application?
Thanks for help!
Best regards
Renald
Hi
Try using the IUser interface for accessing the User profile. Check out following link for more information.
http://help.sap.com/saphelp_nw04/helpdata/en/80/45da9619d24b61bb869c31ef3b780a/content.htm
See if that helps. Let me know if you require some more information.
regards
ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Renald,
How did you create the extra parameter "nameOfMyCustomizedField"?
I have a parameter included in the Microsoft Active Directory that I need to read in my Web Dynpro App, do you have any idea about it?
Thank you very much
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
Hi Noufal,
you both helped me very much. Thank you very much.
And for anybody who has the same problem, her my code:
IWDClientUser user = null;
IUser iuser = null;
String myvalue = null;
try {
user = WDClientUser.getCurrentUser();
}
catch (WDUMException e) {
// Jump on page authentification error
}
iuser = user.getSAPUser();
myvalue = iuser.getAttribute("com.sap.security.core.usermanagement", "nameOfMyCustomizedField")[0];
But first you have to add com.sap.security.api
Best regards
Renald
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 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.