PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP


New WINDEV, WEBDEV, WINDEV Mobile 25 feature!
  • Rights required to modify a group
  • Managing rights
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
Modifies the group information according to the elements found in the corresponding variables for group management.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Example
// Describe the connection
MyConnection is Connection
 
// Open the connection
MyConnection.OpenConnection()
...
// Modify the members of the group
HGroup.Users = "Flo" + CR + "Julia" + CR + "Luke"
// Modify the group
IF MyConnection.ModifyGroup("TESTERS") = True THEN
Info("Group modified")
END
Syntax
<Result> = <Connection>.ModifyGroup(<Group>)
<Result>: Boolean
  • True if the group was modified,
  • False if an error occurred. HError is used to identify the error.
<Connection>: Connection variable
Name of the Connection variable that describes the connection for which a group must be modified.
<Group>: Character string (with quotes)
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, <Connection variable>.ModifyGroup will return False and the error message will be "Unknown group".
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).

Managing rights

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