PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

This content comes from an automatic translation.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
HInfoUser (Function)
In french: HInfoUtilisateur
HFSQL Client/ServerAvailable only with this kind of connection
Updates the variables for user management with the information regarding the specified user. For security reasons, the user password is not retrieved.
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.
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.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 22 and later
Android Widget This function is now available in Android Widget mode.
Java This function is now available for the Java applications.
Android This function is now available for Android applications.
New in version 22
Android Widget This function is now available in Android Widget mode.
Java This function is now available for the Java applications.
Android This function is now available for Android applications.
Android Widget This function is now available in Android Widget mode.
Java This function is now available for the Java applications.
Android This function is now available for Android applications.
Example
// Describe the connection
HDescribeConnection("MyConnection", "Julia", "Password", "MyHFServer", "MyDatabase", ...
hAccessHFClientServer, hORead)
// Open the connection
HOpenConnection("MyConnection")
// Associate the data file with the connection
HChangeConnection(Customer, "MyConnection")
IF HInfoUser("MyConnection", "Flora") = True THEN
Info("The user characteristics are as follows" + CR + ...
"Login" + HUser.Login + ...
"Full Name: " + HUser.FullName + ...
"Email: " + HUser.Email)
END
Syntax
<Result> = HInfoUser(<Connection> , <User>)
<Result>: Boolean
  • True if the structure for managing the users was updated,
  • False if an error occurred. HErrorInfo is used to identify the error.
Remark: An "Unknown user" error will be returned by HErrorInfo if the current user has no rights to see the users (hRightsSeeUser constant). These rights can be defined by HModifyServerRights.
<Connection>: Character string (with or without quotes) or Connection variable
Connection for which user information must be retrieved. This connection corresponds to:
<User>: Character string (with quotes)
Name of the user for whom the information must be retrieved. This name must correspond to the HUser.Login variable for one of the users of the specified connection.
Component : wd250hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
<User Name>: Character string (with quotes)
Name of the user for whom the information must be retrieved. This name must correspond to the HUser.FullName variable for one of the users of the specified connection.
Riebens
29 Jan. 2012