Re-Login
Purpose 
Allows the user to log in to the database using a different account and password without closing and reopening the file.
Format 
Re-Login [Account Name: <account name>; Password: <password>; No dialog]
Options 
Perform without dialog prevents the Open <filename> dialog box from displaying when the script step executes. This dialog box requires the user to manually enter an account and password (or edit information already displayed in the dialog box) to open a database file. When Perform without dialog is selected, FileMaker Pro uses the account and password information that is stored with the script step, or generates information from calculations when the step executes.
Click Specify to display the “Re-Login” Options dialog box, where you can set the following options.
 •
Account Name is the name of the account to be authenticated. You can enter literal text or click Specify to create a new account name from a calculation.
 •
Password is the password for this account. You can enter literal text or click Specify to create a new password from 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 
Privileges assigned to the new account take effect immediately, including access to tables, records, layouts, scripts, and value lists.
Notes
 •
You do not need full access privileges to perform this script step. Users with any level of access can use this script step to re-login to the database.
 •
 •
 •
Perform without dialog must be selected for this script to work in a FileMaker Server scheduled script.
Example 1 
Prompts the current user to re-login after deleting the specified account.
Note  Because of the Delete Account step, users must have full access privileges to run this script.
Delete Account [Account Name: "User"]
Re-Login [ ]
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)