Change Password
Purpose 
Changes the password for the current account.
Format 
Change Password [Old Password: <old password>;
New Password: <new password>; No dialog]
Options 
Click Specify to display the “Change Password” Options dialog box, where you can set the following options.
 •
Old Password is the old password for the current account. You can enter literal text or click Specify to generate the password from a calculation.
 •
New Password is the new password for the current account. You can enter literal text or click Specify to create a new password from a calculation.
 •
Perform without dialog prevents the Change Password dialog box from displaying when the script step executes. When this option is selected, FileMaker Pro uses the literal password information stored with the script step, or generates a new password based on a calculation.
Compatibility 
 
Where the script step runs 
Supported 
FileMaker Pro 
Yes 
FileMaker Server scheduled script 
Partial 
FileMaker Go 
Yes 
Custom Web Publishing 
Partial 
FileMaker WebDirect 
Yes 
Runtime solution 
Yes 
Originated in 
FileMaker Pro 7.0
Description 
This script step displays the Change Password dialog box, unless Perform without dialog is selected. Change Password allows you to change your password but not your access privileges.
Notes
 •
 •
Unless the Set Error Capture script step has enabled error capture, users get five attempts to change their password.
 •
Example 1 
Opens the Change Password dialog box every ten times the database is opened to encourage the user to change his or her password frequently. Started by the OnFirstWindowOpen script trigger.
Set Field [Accounts::Open Count; Accounts::Open Count + 1]
If [Accounts::Open Count = 10]
Set Field [Accounts::Open Count; 0]
Change Password [ ]
End If
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)