cancel
Showing results for 
Search instead for 
Did you mean: 

UME Exception on use of ume api in webdynpro java

Former Member
0 Kudos

Hi Experts,

I am using UME api to fetch user details from portal.My scenario is i am fetching set of users from backend and need to get the user details from portal using UME api.

am using below code to fetch the user details.

 

IUser user = UMFactory.getUserFactory().getUserByUniqueName(signum);

but am getting below exceptions.

UMException: User found, but unique name "xxxxx" is not unique!Caused by: null1490

UMException: User "xxxxx" does not exist.Caused by: null1487.

I know that below exceptions are occuring because either user is not unique or user is not avilable in portal.But i dont want exception to be triggered in such case.Instead is there any method to which i can pass users from backend and check if user exist or not and then fetch user details and also if user is not unique also i want to display the user details.

Please help me out with this.

Thanks

Anusha

Accepted Solutions (0)

Answers (1)

Answers (1)

junwu
Active Contributor
0 Kudos

use other standard search api