|
|
|
|
|
HListConnectedUser (Function)
Disponible solo con este tipo de conexión
Lists users currently connected to one or more data files handled by a Client/Server connection.
// Describe the connection HDescribeConnection("MyConnection", "Julia", "Password", "MyHFServer", "MyDatabase", ... hAccessHFClientServer, hORead) // Open the connection HOpenConnection("MyConnection") Result1 is string Result1 = HListConnectedUser("MyConnection") // Add the users into a List Box control ListAdd(LIST_MyList, Result1)
Sintaxis
<Result> = HListConnectedUser(<Connection name> [, <Database> [, <Physical name of the data file>]])
<Result>: Character string Name of the different users who are using:- or the specified data file.
- the specified database.
If only the connection name is specified, lists all the users connected to the server. The information is returned in the following format: <Username> + TAB + <Name of client computer> + TAB + <Name of client application> + TAB + <Internal version of client HFSQL library> + TAB + <Version of client HFSQL library> + TAB + <Priority of client application> + TAB + <Name of server node (if HFSQL cluster)> + <IP address of client computer> + CR + ... Note If the current user does not have user view rights (constant hRightViewUser) on the server (function HModifyServerRights or HInfoServerRights), the function HListConnectedUser function returns only the current user's connections. <Connection name>: Character string Name of the connection used. This connection was defined in the data model editor, or by HDescribeConnection or HOpenConnection. <Database>: Optional character string Name of database for which we want to find out the connected users. If this parameter as well as the parameter <Physical name of the data file> are not specified, the function HListConnectedUser will list the users connected to the server. <Physical name of the data file>: Optional character string Name of the data file for which we want to know which users are currently logged in. If this parameter is not specified, HListConnectedUser lists the users connected to the database. If this parameter and <Database> are not specified, HListConnectedUser lists the users connected to the server.
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|