Reference > Functions reference > Get functions > Get(UserCount)
 
Get(UserCount)
Purpose 
Returns the number of clients currently accessing the file.
Format 
Get(UserCount)
Parameters 
None
Data type returned 
number
Originated in 
FileMaker Pro 6.0 or earlier
Description 
Returns:
1 if FileMaker Network sharing is turned off
1 + the number of clients if FileMaker Network sharing is turned on
This function does not count clients accessing the database file via ODBC or JDBC.
Notes 
If you specify the context for the current calculation, this function will be evaluated based on that context; otherwise, it will be evaluated based on the context of the current window.
Examples 
Returns 5 when there are 4 clients accessing the database file.
Related topics 
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas