Go to Contents
Previous
Page
Next
Page
Contents > Functions reference (alphabetical list) > Get functions > Get(MultiUserState) function

Get(MultiUserState) function
Format

Get(MultiUserState)
Parameter
None
Data type returned
number
Description
Returns a number representing the level of sharing for the database file using FileMaker Network.
Returns:
0 when network sharing is off.
1 when network sharing is on, you're accessing the database file from the host computer, and either all users or a specific group of users (based on their privilege set) have network access to the database file.
2 when network sharing is on, you're accessing the database file from a client computer, and either all users or a specific group of users (based on their privilege set) have network access to the database file.
Notes
If the current calculation is stored and you specify its context, this function will be evaluated based on that context; otherwise, it will be evaluated based on the context of the current window.
See Solving calculations on a host machine for information about running scripts in client/server and peer-to-peer environments.
Example
Returns 0 when access is denied to other users.
Related topics
Sharing databases on a network
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas

Contents > Functions reference (alphabetical list) > Get functions > Get(MultiUserState) function
Previous
Page
Next
Page