Set Multi-User
Purpose 
Allows or disallows network access to a database.
Format 
Set Multi-User [On/On (Hidden)/Off]
Options 
 •
Select On to allow network access via FileMaker Network Sharing. This is the same as selecting All Users in the FileMaker Network Settings dialog box.
 •
Select On (Hidden) to allow network access but prevent the name of the shared database from appearing in the Open Remote File dialog box. This is the same as selecting the All Users and Don't Display in Open Remote File dialog options in the FileMaker Network Settings dialog box.
 •
Select Off to disallow network access. This is the same as selecting No Users in the FileMaker Network Settings dialog box.
Compatibility 
 
Where the script step runs 
Supported 
FileMaker Pro 
Yes 
FileMaker Server scheduled script 
No 
FileMaker Go 
No 
Custom Web Publishing 
No 
FileMaker WebDirect 
No 
Runtime solution 
No 
Originated in 
FileMaker Pro 6.0 or earlier
Description 
A shared, or multi-user, database is a file available to users on a network. See Sharing and hosting files for more information.
Example 1 
Guarantees that a database is hosted upon launch. Started by the OnFirstWindowOpen script trigger.
Show Custom Dialog ["Make this file available on the network?"]
If [Get ( LastMessageChoice ) = 1]
Set Multi-User [On]
End If
Example 2 
Turns network sharing on if it is off.
If [Get ( MultiUserState ) = 0]
Set Multi-User [On]
End If
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)