ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL Client/Server functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Deletes a user associated with a connection to the HFSQL server.
Example
// Description de la connexion
MaConnexion is Connection

// Ouverture de la connexion
MaConnexion.OpenConnection()
// Association du fichier de données à la connexion
Client.ChangeConnexion(MaConnexion)
...
IF MaConnexion.DeleteUser("Flo") = True THEN
	Info("Utilisateur Flo supprimé")
END
Syntax
<Result> = <Connection>.DeleteUser(<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>: Connection variable
Name of the Connection variable that describes the connection for which a user must be deleted.
<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.
Component: wd300hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/14/2025

Send a report | Local help