cancel
Showing results for 
Search instead for 
Did you mean: 

How can i get the list of all users present in the UME ?

Former Member
0 Kudos

Hi Experts,

How can i get the list of all users present in the UME ?

Is there any API or function Code to get all user list??

Please help me out!!!

Help will be rewarded

-pankaj chouhan

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Pankaj,

find the official NetWeaver security javadocs (including access to UME) <a href="http://help.sap.com/javadocs/NW04S/current/se/index.html">here</a>. Look for classs UMFactory and proceed from there.

Best regards,

Martin

former_member388485
Contributor
0 Kudos

Hi,

You can use this:

IUserFactory uf = UMFactory.getUserFactory();
ISearchResult result = uf.getUniqueIDs();
while (result.hasNext()) {
  String uniqueid = result.next().toString();{
  IUser user = uf.getUser(uniqueid);
  String userid = user.getUniqueName();
}

Best regards,

Avishai Zamir