Skip to Content
0
Former Member
Aug 13, 2004 at 09:51 AM

IUserAccount

29 Views

How can i change the user password??

i used this code and it's not working:

IUserAccount iUserAccount =accountFactory.getUserAccountByLogonId(id);

iUserAccount.setPassword(parola);

iUserAccount.commit();

it's thrown an exception:

Caused by: java.lang.reflect.InvocationTargetException: com.sap.security.api.UMRuntimeException: Maint method setPassword cannot be used because the principal is not mutable!