|
|
|
|
HResetUser (Function) In french: HRAZUtilisateur
Available only with this kind of connection
Initializes the structure for user management ( HUser) with the default values. // 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>: Boolean - True if the initialization was performed,
- False if a problem occurs. HErrorInfo returns more details.
Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|