PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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 (from the server) a group of users associated with a connection.
Note: 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 HDeleteGroup("MyConnection", "User1") = True THEN
Info("User1 group deleted")
END
Syntax
<Result> = HDeleteGroup(<Connection name> , <Group name>)
<Result>: Boolean
  • True if the group was deleted,
  • False if an error occurred. HErrorInfo is used to identify the error.
Note: An "Unknown group" error will be returned by HErrorInfo if the current user has no rights to see the users (hRightsSeeUser constant) and if he wants to delete another group.
<Connection name>: Character string (with or without quotes)
Name of connection for which a group will be deleted. This connection was defined in the data model editor, or by HDescribeConnection or HOpenConnection.
<Group name>: Character string (with quotes)
Name of group to delete.
Component : wd240hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment