on 07-09-2008 6:40 AM
Hi,
I am using the below code to retreive Custom UME attributes.
IWDClientUser wdUser = WDClientUser.getLoggedInClientUser();
com.sap.security.api.IUser user = wdUser.getSAPUser();
String b[]=user.getAttribute("com.sap.userattributes1","RBUCode");
com.sap.userattributes is my namespace and RBUCode is the name of the attribute.
This is not working. Anybody suggest me........
Hi,
Try this and let me know
IWDClientUser wdUser = WDClientUser.getLoggedInClientUser();
com.sap.security.api.IUser user = wdUser.getSAPUser();
String b[]=user.getAttribute("com.sap.userattributes1","RBUCode");
wdComponentAPI.getMessageManager().reportSuccess(b[0]);
Regards,
Naga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
its perfect....thank u....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
its giving some garbage value....
the output is something like java.lang.string;123@345
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prasanthi,
Whats the error you are getting?
Regards,
Naga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.