Navigation: Developing Apps > BINETIX® AGE™ API > Plugins > PAM Controller > Functions
reset_password/2
Description
reset_password/2 is an Erlang function exported by "pam" module.
Resets the user's password with a new one. Requires administration rights!
References
•gen_password/1
Parameters
Name
Type
UserName
string()
User name or ID
NewPassword
A new password sequence.
Result
Value or Type
{success, "Success"}