Script Steps Reference

Table Of Contents
106 FileMaker Script Steps Reference
Re-Login
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.
Web compatibility
This script step is web-compatible only if you select Perform withoug dialog.
Description
Lets the user log into the database using a different account and password without closing
and reopening the file. 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.
Users get five attempts to enter their account and password, unless the Set Error
Capture script step on page 27 is enabled.
If the Set Error Capture script step is enabled, users get a single attempt to enter their
account and password.
Example
Re-Login [Account Name:"MyAccount"; Password:"MyPassword"; No
dialog]