ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL Client/Server functions
  • Rights required to modify a group
  • Rights management
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
Modifies the group information according to the elements found in the corresponding variables for group management.
Example
// Describe the connection
HDescribeConnection("MyConnection", "Julia", "Password", "MyHFServer", "MyDatabase", ...
hAccessHFClientServer, hORead)
// Open the connection
HOpenConnection("MyConnection")
...
// Modify the members of the group
HGroup.Users = "Flo" + CR + "Julia" + CR + "Luke"
// Modify the group
IF HModifyGroup("MyConnection", "TESTERS") = True THEN
Info("Group modified")
END
Syntax
<Result> = HModifyGroup(<Connection> , <Group>)
<Result>: Boolean
  • True if the group was modified,
  • False if an error occurred. HError is used to identify the error.
<Connection>: Character string or Connection variable
Connection for which a group must be modified. This connection corresponds to:
<Group>: Character string
Name of the group whose characteristics must be modified.
Remarks

Rights required to modify a group

To modify a group (other than the group of the current user), you must have the rights to view users (hRightsSeeUser constant). Otherwise, HModifyGroup will return False and an "Unknown group" error message will appear.
To modify the name of a group, you must have the rights to see the users (hRightsSeeUser constant) and the rights to manage the users (hRightsManageUser constant).
Remark: These constants are used in HInfoServerRights and HModifyServerRights.

Rights management

The following function are used to grant rights to a group:
Component: wd290hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help