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
gpwSupervisor (Function)
In french: gpwSuperviseur
Returns the username of the "Supervisor" account according to the framework being used. This account is created automatically when the groupware is set up.
Remark: Since the groupware and its files are multilingual, it is possible to retrieve the value of the constant that represents the name of the "Supervisor" account.
Example
IF sCurrentAccount = gpwSupervisor() THEN
// Program below the code to run
// when the supervisor is the current account
...
END
Syntax
<Result> = gpwSupervisor()
<Result>: Character string
Supervisor username according to the framework being used. Corresponds to:
  • "Supervisor" if the framework is in English,
  • "Superviseur" if the framework is in French,
Business / UI classification: Neutral code
Component: wd290gpu.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 11/21/2022

Send a report | Local help