Cannot reset password in Moodle using API

Cannot reset password in Moodle using API

by Orin Parris -
Number of replies: 0
I am attempting to set a user's password via core_user_update_users function.

I supply the params as follows:

Array                                  

(                                      

    [0] => Array                       

        (                              

            [id] => <user_id>

            [password] => asdfasdf     

        )                              

                                       

)             


However the above seemingly returns no errors, and the password change was not done.

The return value if an array with an empty warning.

Kindly assist.                         

Average of ratings: -