Skip to Content
0
Former Member
Sep 07, 2005 at 07:17 PM

Change Password Required

55 Views

Hello,

I have an application that change the user password, I am using setPassword(String) and setPasswordChangeRequired(boolean chng) of UME API to do this, but I need to have a Reset Password Button.

The person should log in with his/her password and after the system check for a correct information it should ask for a password change.

I am triying to use setPasswordChangeRequired(boolean chng) again but I get an exception. I think is because of this information that I can get in the UME API documentation.

<i>

The exception may be raised in following cases

if it is used without using setPassword(String, String) or setPassword(String) in the same IPrincipalMaint.commit() transaction.</i>

Please help me, I am confuse of how to use this method.

Thanks in advance