Get(UserCount)

Returns the number of clients currently accessing the file.

Format 

Get ( UserCount )

Parameters 

None

Data type returned 

number

Originated in version 

6.0 or earlier

Description 

Returns:

  • 1 if FileMaker Network sharing is turned off
  • the number of clients if FileMaker Network sharing is turned on (if hosted by FileMaker Pro, includes the FileMaker Pro host as a client as well)

This function does not count clients accessing the database file via ODBC or JDBC.

Example 1 

Returns 10 when there are 10 remote clients accessing the file when it is hosted by FileMaker Cloud.

Returns 5 when there are 4 remote clients accessing the file when it is hosted by FileMaker Pro.