Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9041

Re: how to get all user name by account from ME database?

$
0
0
UserConfigurationServiceInterface  s=Services.getService("com.sap.me.user", "UserConfigurationService","My site");
FindUsersByFilterRequest fr=new FindUsersByFilterRequest();  fr.setSite("ATX");  List<UserBasicConfiguration> user=null;  try {  user=s.findUsersByFilters(fr);  SAPTestLogger.log(Severity.INFO, "", ""+new Date().getTime(), "user size="+user.size());
} catch (BusinessException e5) {  SAPTestLogger.log(Severity.ERROR, "", ""+new Date().getTime(), "users_>"+e5.getMessage());  }

Thank you!!The above is my test code,Get the List size = 0.

What should I get all the users List.



Viewing all articles
Browse latest Browse all 9041

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>