Change Password and Unlock User using UME API
I am trying to Unlock the user who got locked by entering wrong password at the time of login to the SAP EP portal and then changing the user password.
Below is the code which I am testing for the same
IUserAccount iuacc = UMFactory.getUserAccountFactory().getUserAccountByLogonId(userId);
IUserAccount iUserAccount = UMFactory.getUserAccountFactory().getMutableUserAccount(iuacc.getUniqueID());
The above code is working fine without any errors or exception. But after runnning the code when i login in to SAP EP portal
i could see the user is still locked and password is not changed.
Could someone help me in fixing this problem. I am using SAP EP 6.0 SPS-02 UME APIs