Updated at September 7, 2026 01:25 PM
box.schema.user.passwd()
Sets a password for a currently logged in or a specified user:
- A currently logged-in user can change their password using
box.schema.user.passwd(password). - An administrator can change the password of another user with
box.schema.user.passwd(username, password).
Parameters:
username(string) — a usernamepassword(string) — a new password
Example:
box.schema.user.passwd('alice', 'foobar')
See also: access_control_users.