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
HResetUser (Function)
In french: HRAZUtilisateur
HFSQL Client/ServerAvailable only with this kind of connection
Initializes the structure for user management (HUser) with the default values.
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")
...
HResetUser()
// Characteristics of the new user
HUser.Login = "FLO"
HUser.Password = "FLOP"
HUser.FullName = "Flora"
HUser.Email = "Flo@myaddress.eu"
HUser.Phone = "01.67.40.47.58"
HUser.Groups = "ADMIN" + CR + "TEST"
// Add the user
IF HAddUser(MyConnection) = True THEN
Info("User added")
END
Syntax
<Result> = HResetUser()
<Result>: Boolean
  • True if the initialization was performed,
  • False if a problem occurs. HErrorInfo returns more details.
Business / UI classification: Business Logic
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