Reference > Script steps reference > Accounts script steps > Reset Account Password
 
Reset Account Password
Purpose 
Resets the password of the existing FileMaker Pro account you specify.
See also 
Format 
Reset Account Password [Account Name: <account name>;
New Password: <password>; Expire password]
Options 
Account Name allows you to specify the name of the existing FileMaker Pro account with the password to be reset.
New Password is the new password for this account.
User must change password on next login forces users to change their password the next time they log in to the database.
Compatibility 
 
Where the script step runs 
Supported 
FileMaker Pro 
Yes 
FileMaker Server 
Yes 
FileMaker Go 
Yes 
Custom Web Publishing 
Yes 
FileMaker WebDirect 
Yes 
Runtime solution 
Yes 
Originated in 
FileMaker Pro 7.0
Description 
Use multiple occurrences of this script step to reset multiple accounts in a single script.
Notes
You must be assigned the Full Access privilege set to perform this script step. To enable users with less than full access privileges to perform this script step, right-click the current script in the script pane and choose Grant Full Access Privileges.
This script step resets the account password without displaying a dialog box.
Example 1 
Changes the password of the Sales account. Requires you to change the password the next time you log in to the account.
Reset Account Password [Account Name: "Sales"; New Password: "1234"; Expire password]
Example 2 
Asks if you want to change the current account's password. Resets the password with the contents of the Password field.
Show Custom Dialog ["Reset the current account password?"; Accounts::Password]
If [Get ( LastMessageChoice ) = 1]
Reset Account Password [Account Name: Get ( AccountName ); New Password: Accounts::Password]
End If
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)