PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

New WINDEV, WEBDEV, WINDEV Mobile 25 feature!
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
<Connection variable>.InfoUser (Function)
In french: <Variable Connexion>.InfoUtilisateur
HFSQL Client/ServerAvailable only with this kind of connection
Updates the user management variables with the information regarding the specified user. For security reasons, the user password is not retrieved.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Example
// Describe the connection
MyConnection is Connection
 
// Open the connection
MyConnection.OpenConnection()
// Associate the data file with the connection
Customer.ChangeConnection(MyConnection)
IF MyConnection.InfoUser("Flora") = True THEN
Info("The user characteristics are as follows" + CR + ...
"Login: " + HUser.Login + ...
"Full Name: " + HUser.FullName + ...
"Email: " + HUser.Email)
END
Syntax
<Result> = <Connection>.InfoUser(<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 <Connection variable>.ModifyServerRights.
<Connection>: Connection variable
Name of the Connection variable that describes the connection for which the user information must be retrieved.
<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 25
This page is also available for…
Comments
Click [Add] to post a comment