PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Deletes (from the server) a group of users associated with a connection.
Example
// Describe the connection
MyConnection is Connection
 
// Open the connection
MyConnection.OpenConnection()
// Associate the data file with the connection
Customer.ChangeConnection(MyConnection)
...
IF MyConnection.DeleteGroup("User1") = True THEN
Info("User1 group deleted")
END
Syntax
<Result> = <Connection>.DeleteGroup(<Group>)
<Result>: Boolean
  • True if the group was deleted,
  • False if an error occurred. HErrorInfo is used to identify the error.
Remark: HErrorInfo will return an "Unknown group" error if the current user has no rights to see the users (hRightsSeeUser constant) and wants to delete another group.
<Connection>: Connection variable
Name of the Connection variable that describes the connection for which a group must be deleted.
<Group>: Character string
Name of group to delete.
Component: wd270hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment