UserPasswordException on updatePasswordWithUserIdUserPasswordException on updatePasswordWithUserIdhttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=748638422024-03-29T12:07:05Z2024-03-29T12:07:05ZRE: UserPasswordException on updatePasswordWithUserIdGenar Codinahttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=749553802016-06-06T07:40:20Z2016-06-06T07:40:20ZHi Javier,<br /><br />You were totally right about using a valid session.<br /><br />ThanksGenar Codina2016-06-06T07:40:20ZRE: UserPasswordException on updatePasswordWithUserIdJavier Gamarrahttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=748666972016-06-02T18:09:57Z2016-06-02T18:09:57ZYou need a valid session (with an user and password) to be able to make the call, the error seems to imply that the user and password (of the session) are invalid.Javier Gamarra2016-06-02T18:09:57ZUserPasswordException on updatePasswordWithUserIdGenar Codinahttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=748638412016-06-02T17:43:05Z2016-06-02T17:43:05Z<html><head></head><body>When I try to update the password using the method:<br><br><pre><code>- (NSDictionary *)updatePasswordWithUserId:(long long)userId password1:(NSString *)password1 password2:(NSString *)password2 passwordReset:(BOOL)passwordReset error:(NSError **)error;</code></pre><br>I get a<br><pre><code>com.liferay.portal.UserPasswordException</code></pre><br><br>I suppose that:<br><br>1) password1 is the old password<br>2) password2 is the new password<br>3) passwordReset: I use always "true" (I think that it means: "change the password immediately").<br><br>However, I cannot complete successfully the function call because I get the error:<br><br>jav