Reference > Functions reference > Get functions > Get(MultiUserState)
 
Get(MultiUserState)
Purpose 
Returns a number representing the level of sharing for the file using FileMaker Network.
Format 
Get(MultiUserState)
Parameters 
None
Data type returned 
number
Originated in 
FileMaker Pro 6.0 or earlier
Description 
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.
Examples 
Returns 0 when access is denied to other users.
For an example script, see Set Multi-User script step.
Related topics 
Sharing files on a network
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas