ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / User Groupware functions
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
gpwAddUserToGroup (Function)
In french: gpwAjouteUtilisateurDansGroupe
Adds a user to a group of the User Groupware database.
Example
gpwAddUserToGroup("Premium")
IF ErrorOccurred = True THEN
       // Full message of the main error
        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: wd290gpu.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help