cancel
Showing results for 
Search instead for 
Did you mean: 

How to search for Users with a specific role?

Former Member
0 Kudos

Hi,

I'm trying to search for users with a specific role. But i couldn't find any hint in the SAP PDK for EP 6.0 SP2 how to do it. Could anybody help me?

Best regards,

Jens

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

should be something like this:

UMFactory.getRoleFactory().getUsersOfRole(String uniqueIdOfRole, boolean recursive)

should return uniqueIds of the users. You can then call

IUser = UMFactory.getUserFactory().getUser(uniqueId)

Former Member
0 Kudos

Is there also somewhere a javadoc for this api?