Skip to Content
0
Former Member
Nov 25, 2009 at 10:08 AM

com.sap.security.api.NoSuchUserAccountException

118 Views

Hi,

I am working on accessing user account details such as locked status and last successful login date

I get error in the below line

ua = UMFactory.getUserAccountFactory().getMutableUserAccount(userid);

when I give user id in a text box and submit, it gives the below seen error.

The parameter I pass userid , I receive error as follows

com.sap.security.api.NoSuchUserAccountException: The given id "Y124827"is not a unique id of a user account! at com.sap.security.core.imp.UserAccountFactory.getReadonlyUserAccount(User

AccountFactory.java:854) at

com.sap.security.core.imp.UserAccountFactory.getReadonlyUserAccount(User

AccountFactory.java:788) at

com.sap.security.core.imp.UserAccountFactory.getMutableUserAccount(UserA

ccountFactory.java:1501) at

com.cw.PortalUserContent.PortalUserContent$PortalUserContentDynPage.doPr

ocessBeforeOutput(PortalUserContent.java:150) at

kindly help

thanks

Prabhu.M...