ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / User Groupware functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
gpwAddUserToGroup (Function)
In french: gpwAjouteUtilisateurDansGroupe
Adds a user to a group of the User Groupware database.
Example
gpwAddUserToGroup("Premium")
IF ErrorOccurred = True THEN
       // Message complet de l'erreur principale
        Trace(ErrorInfo())
END
Syntax
<Result> = gpwAddUserToGroup(<Group> [, <Move>])
<Result>: Boolean
  • True if the user has been added to the group,
  • False otherwise. ErrorInfo is used to identify the error.
<Group>: Character string
Name of group the current user must be associated with.
<Move>: Optional boolean
  • True if the user must be moved to the specified group. In this case, the user will be associated only with this group. They will be deleted from all other groups.
  • False (default value) if the user must be associated with the specified group while remaining associated with the other groups.
Component: wd300gpu.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help