Count users

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 3


Count users Integer

ParameterTypeDescription
This command does not require any parameters
Function resultIntegerNumber of users connected to the server

Description

When it is called from a stored procedure on the server, the Count users command returns the number of users connected to the server machine.

If the server is running at least one stored procedure and if Count users is called from another context (client machine, Web method), the command returns the number of users +1.

In the case of a 4D single-user version , Count users returns 1.

See Also

Count tasks, Count user processes.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next