ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / Managing databases / HFSQL / HFSQL Client/Server functions
  • Rights required to add a user group
  • Rights management
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Adds a group of users. All the group characteristics must be specified in the variables for group management.
Example
// Description de la connexion
HDescribeConnection("MaConnexion", "Julie", "MotDePasse", "MonServeurHF", ...
		"MaBaseDeDonnées", hAccessHFClientServer, hORead)
// Ouverture de la connexion
HOpenConnection("MaConnexion")
// Association du fichier de données à la connexion
HChangeConnection(Client, "MaConnexion")
// Caractéristiques du nouveau groupe
HGroup.Name = "ADMIN2"
HGroup.Description = "Administrateurs de la base de données"
HGroup.Users = "Flo" + CR + "Julie"
// Ajout du groupe
IF HAddGroup("MaConnexion") = True THEN
	Info("Groupe ajouté")
END
Syntax
<Result> = HAddGroup(<Connection>)
<Result>: Boolean
  • True if the group has been added,
  • False if an error occurs. HError is used to identify the error.
<Connection>: Character string or Connection variable
Connection for which the user group must be added. This connection corresponds to:
Remarks

Rights required to add a user group

To add a user group, you must have the following rights:
  • Rights to manage the users (hRightsManageUser constant).
  • Rights to see the users (hRightsSeeUser constant).
These constants are used in HInfoServerRights and HModifyServerRights.

Rights management

No rights are granted to a new group.
The following function are used to grant rights to a group:
For more details, see Managing the rights in HFSQL Client/Server.
Component: wd300hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/12/2025

Send a report | Local help