ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL Client/Server functions
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
Updates the user management variables with the information regarding the specified user. For security reasons, the user password is not retrieved.
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: HErrorInfo will return an "Unknown user" error if the current user has no rights to see the users (hRightsSeeUser constant). These rights can be defined using HModifyServerRights.
<Connection>: Character string or Connection variable
Connection for which the user information must be retrieved. This connection corresponds to:
<User>: Character string
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: wd290hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help