PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

New WINDEV, WEBDEV, WINDEV Mobile 25 feature!
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
<Connection variable>.DeleteUser (Function)
In french: <Variable Connexion>.SupprimeUtilisateur
HFSQL Client/ServerAvailable only with this kind of connection
Deletes a user associated with a connection to the HFSQL server.
Versions 17 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Versions 22 and later
Android Widget This function is now available in Android Widget mode.
Android This function is now available for Android applications.
Java This function is now available for the Java applications.
New in version 22
Android Widget This function is now available in Android Widget mode.
Android This function is now available for Android applications.
Java This function is now available for the Java applications.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for Android applications.
Java This function is now available for the Java applications.
Example
// Describe the connection
MyConnection is Connection
 
// Open the connection
MyConnection.OpenConnection()
// Associate the data file with the connection
Customer.ChangeConnection(MyConnection)
...
IF MyConnection.DeleteUser("Flo") = True THEN
Info("User deleted: Flo")
END
Syntax
<Result> = <Connection>.DeleteUser(<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>: Connection variable
Name of the Connection variable that describes the connection for which a user must be deleted.
<User to delete>: Character string (with quotes)
Name of user to delete. This name must correspond to the HUser.Login variable for one of the users of the specified connection.
Component : wd250hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment