|
|
|
|
HDeleteUser (Function) In french: HSupprimeUtilisateur
Available only with this kind of connection
Deletes a user associated with a connection to the HFSQL server.
// 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 HDeleteUser("MyConnection", "Flo") = True THEN Info("User deleted: Flo") END
Syntax
<Result> = HDeleteUser(<Connection> , <User to delete>)
<Result>: Boolean - True if the user was deleted,
- 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).
<Connection>: Character string or Connection variable Connection for which a user must be deleted. This connection corresponds to: <User to delete>: Character string Name of user to delete. This name must correspond to the HUser.Login variable for one of the users of the specified connection.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|