Script Steps Reference

Table Of Contents
Accounts script steps
F
ILEMAKER PRO SCRIPT STEPS REFERENCE 209
Enable Account
Purpose
Enables or disables a specific account.
Format
Enable Account [Account Name: <account name>; Activate/Deactivate]
Options
Click Specify to display the “Enable Account” Options dialog box, where you can set the following
options.
Account Name is the name of the account to be activated or deactivated. You can enter
literal text or click Specify to generate the account name from a calculation.
Activate account enables the specified account.
Deactivate account disables the specified account.
Compatibility
Originated in
FileMaker Pro 7.0
Description
You must specify an existing account.
You must be assigned the Full Access privilege set to perform this script step. Select Run
script with full access privileges to enable users with less than full access privileges to
perform this script step.
You cannot use this script step to deactivate an account with full access privileges.
Example 1
Displays the contents of the Name field and prompts the user to activate an account with that name.
Show Custom Dialog ["Activate the " & Accounts::Name & " account?"]
If [Get ( LastMessageChoice ) = 1]
Enable Account [Account Name: Accounts::Name; Activate]
End if
Where the script step runs Supported
FileMaker Pro Yes
FileMaker Server scheduled script Yes
FileMaker Go Yes
Custom Web Publishing Yes
FileMaker WebDirect Yes
Runtime solution Yes