|
|
|
|
|
HDeleteUser (Function) In french: HSupprimeUtilisateur
Available only with this kind of connection
Deletes a user associated with a connection to the HFSQL server.
HDescribeConnection("MaConnexion", "Julie", "MotDePasse", "MonServeurHF", ...
"MaBaseDeDonnées", hAccessHFClientServer, hORead)
HOpenConnection("MaConnexion")
HChangeConnection(Client, "MaConnexion")
...
IF HDeleteUser("MaConnexion", "Flo") = True THEN
Info("Utilisateur Flo supprimé")
END
Syntax
<Result> = HDeleteUser(<Connection> , <User to delete>)
<Result>: Boolean - True if the user has been deleted,
- False if an error occurs. HErrorInfo is used to identify the error.
Note An "Unknown user" error will be returned by function HErrorInfo if the current user does not have user view rights (constant hViewRightUser).
<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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|