PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

This content comes from an automatic translation.
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
Deletes (fro the server) a user associated with a connection.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Example
// 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("Flo user deleted")
END
Syntax
<Result> = HDeleteUser(<Connection> , <User to be deleted>)
<Result>: Boolean
  • True if the user was deleted,
  • False if an error occurred. HErrorInfo is used to identify the error.
Remark: An "Unknown User" error will be returned by the HErrorInfo function if the current user does not have the right to view users (hDroitVisualisationUsisateur constant).
<Connection>: Character string (with or without quotes) or Connection variable
Login for which a user must be deleted. This connection corresponds to:
<User to be deleted>: 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 9
This page is also available for…
Comments
Click [Add] to post a comment