PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • 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
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
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 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).

Rights management

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