Zoomed Image

AMSX Scripting Language - Command : resetpassword

Summary

Reset a user's password and optionally send a notification email

Description

Resets the password for the specified user account. By default sends a notification email to the provided address. Set the no-email flag to suppress the email, for example when resetting passwords in bulk.

Parameters

ParameterDescription
cmdUser ID (login name)
Argument 0New password
Argument 1Email address to send the reset notification to
Argument 2"True" or "1" to suppress the notification email

Syntax


ResetPassword "User ID (login name)", "New password", "Email address to send the reset notification to", ""True" or "1" to suppress the notification email"

Return to the AMSX Command Reference