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 
Instant Web Publishing 
Partial 
Runtime solution 
Yes 
Originated in 
FileMaker Pro 6.0 or earlier
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.
Examples 
Re-Login [Account Name:"MyAccount"; Password:"MyPassword"; No dialog]
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)