PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
HListConnectedUser (Function)
In french: HListeUtilisateurConnecté
HFSQL Client/ServerAvailable only with this kind of connection
Lists the users currently connected to one or more files handled by a Client/Server connection.
Versions 17 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Versions 22 and later
Android Widget This function is now available in Android widget mode.
Android This function is now available for Android applications.
WINDEVJava This function is now available for Java applications.
New in version 22
Android Widget This function is now available in Android widget mode.
Android This function is now available for Android applications.
WINDEVJava This function is now available for Java applications.
Android Widget This function is now available in Android widget mode.
Android This function is now available for Android applications.
WINDEVJava This function is now available for Java applications.
Example
// Description de la connexion
HDescribeConnection("MaConnexion", "Julie", "MotDePasse", "MonServeurHF", "MaBaseDeDonnées", ...
hAccessHFClientServer, hORead)
// Ouverture de la connexion
HOpenConnection("MaConnexion")
Résultat1 is string
Résultat1 = HListConnectedUser("MaConnexion")
// Ajout des utilisateurs dans un champ Liste
ListAdd(LISTE_Maliste, Résultat1)
Syntax
<Result> = HListConnectedUser(<Connection name> [, <Database> [, <Physical file name>]])
<Result>: Character string
Name of the different users who are using:
  • the specified 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:
<Nom de l'utilisateur> + TAB + <Nom de la machine cliente> + TAB +
<Nom de l'application cliente> + TAB + <Version interne librairie HFSQL cliente> +
TAB + <Version de la librairie HFSQL cliente> + TAB +
<Priorité de l'application cliente> + TAB +
<Nom du noeud serveur (si cluster HFSQL)> + <Adresse IP du poste client> + RC + ...

Remark: If the current user does not have the right to view users (constant hRightsSeeUser) on the server (function HModifyServerRights or HInfoServerRights), function HListConnectedUser returns only the connections of the current user.
<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 and <Physical file name> are not specified, HListConnectedUser lists the users connected to the server.
<Physical file name>: Optional character string
Name of file for which we want to find out the connected users.
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.
Component: wd270hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment