Reference > Script steps reference > Files script steps > Set Multi-User
 

Set Multi-User

Allows or disallows network access to a file.

See also 

Options 

On allows network access via FileMaker Network sharing. This is the same as selecting All Users in the FileMaker Network Settings dialog box.

On (Hidden) allows network access but prevents the name of the shared database from appearing in the Hosts dialog box. This is the same as selecting the All Users and Don't display in Hosts dialog options in the FileMaker Network Settings dialog box.

Off disallows network access. This is the same as selecting No Users in the FileMaker Network Settings dialog box.

Compatibility 

 

Product 

Supported 

FileMaker Pro Advanced 

Yes 

FileMaker Go 

No 

FileMaker WebDirect 

No 

FileMaker Server 

No 

FileMaker Cloud products 

No 

FileMaker Data API 

No 

Custom Web Publishing 

No 

Runtime solution 

No 

Originated in 

FileMaker Pro 6.0 or earlier

Description 

A shared, or multiuser, database is a file that's available to users on a network. See Sharing and hosting files.

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)