Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Not able to access custom UME attributes.

Hello,

I am using this code to set and get custom ume attributes:

String[] phoneExt={wdContext.currentInputValuesElement().getPhone_Ext().toString().trim()};
newUser.setAttribute("com.sap.security.core.usermanagement","phone_ext", phoneExt);

String[] phoneExt = searchedUser.getAttribute("com.sap.security.core.usermanagement","phone_ext");
String ext = "";
for(int j=0; j<phoneExt.length; j++){
   ext = phoneExt[j];
   break;							 
}

This doesn't seem to work. Can anybody let me know the correct way.

Former Member
Former Member replied

That is quite an old document. I normally go to help.sap.com and search from there.. This page (http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/0316d50bbe025ce10000000a1553f7/frameset.htm) shows the syntax for custom attributes.

I don't know much more than is covered in the help

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question