on 12-03-2009 2:26 PM
Hi Experts
I am not able to get the field Organizational Unit from portal UME using IUser API in Webdynpro application. I don't find the get method available for the same i.e. getLastName, getFirstName, getDisplayName etc. Can anyone help me in getting this resolved?...
Thanks
Ramamoorthy D
Guys,
Kindly help me in getting a solution for the above described problem.
Thanks in advance.
Ramamoorthy D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ramamoorthy
Then try the following:
IUser.getAttribute("com.sap.security.core.usermanagement", "orgunit");
If it will not help, try to inspect all the existing user properties:
String namespaces[] = user.getAttributeNamespaces();
for (int i = 0; i < namespaces.length; i++) {
String attrNames[] = user.getAttributeNames(namespaces<i>);
for (int j = 0; j < attrNames.length; j++) {
Object attr[] = user.getAttribute(namespaces<i>, attrNames[j]);
for (int k = 0; k < attr.length; k++) {
//
}
}
}
BR, Siarhei
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.