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 
This script step is supported in web publishing and in a FileMaker Server scheduled script, but only if Perform without dialog is selected.
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.
  •
  •
Examples 
Re-Login [Account Name:"MyAccount"; Password:"MyPassword"; No dialog]
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)