|
|
|
|
HInfoUser (Function) In french: HInfoUtilisateur
Available 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.
// 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|