Home | Sign in | English EN
  • Overview
  • How to proceed?
  • Configuring, using and customizing the user groupware
  • Notes
  • Operating mode of the user groupware
  • Remark
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Stored procedures
A Windows application, an Internet or Intranet site require to define the role of different contributors. It is often necessary to define several access levels according to the user. Indeed, all users do not have the same responsibilities or the same requirements. Their ability to use some of the application features can be customized.
Let's take a simple example: an application for sales management proposes the following features:
  • Viewing the price list.
  • Modifying the price list.
  • Entering orders.
  • Entering customers.
The accesses differ according to the user. Some examples:
  • administrative assistants can see the price list and create orders.
  • sales representatives can see the price list, place orders and create new customers.
  • sales directors have access to all options.
To manage these access levels in your WINDEV applications or in you WEBDEV sites, all you have to do is include the user groupware in your application or in your site. In just a few clicks, a standard application can be transformed into an application that manages several access levels. This feature can be easily implemented in a WINDEV application or in a WEBDEV site.
When starting the application or the site, the manager will be able to create users (identified by their login and password) and to give them access to some features of the site or application.
Use conditions:
  • The user groupware is available:
    • in WINDEV applications (Windows and Linux).
    • in dynamic WEBDEV sites (in Session or AWP mode) running on Windows and Linux.
    • in a mixed AWP/Standard site. In this case (project containing AWP pages and pages in Standard mode), the connection from an AWP page is transmitted to the standard section.
  • The user groupware is not available in static, PHP or Ajax sites.
  • The encryption of the passwords found in the user groupware is enabled by default when the user groupware is included in a project. To enable this option in an existing groupware, see Encrypting passwords.
How to proceed?
To implement the User Groupware in your application: on the "Project" pane, in the "Project" group, click "User groupware". For more details on the different options available, see Options of user groupware.

Operating mode of the user groupware

An application that uses the user groupware has two levels:
  • the user level
    The user connects to the application via a login window/page and he can access the features that have been allowed for him.
  • the supervisor level
    The supervisor connects to the application via a login window/page and he can access an advanced menu allowing him to configure the users and their rights, or to start the application. The configuration window/page allows the supervisor to:
    • start the application.
    • configure the groupware.
      Configuring the groupware consists in creating users and groups, associating users with groups as well as managing the rights granted to each user (or group) on each window/page found in the application. The rights can be defined for the menu options, for the groups of controls and for the controls. The supervisor can gray out these elements, make them inactive or invisible. These configurations have priority over any configuration defined in the program.
For more information on the groupware configuration defined by the supervisor, see:
  • The information regarding the users and their rights is stored in files in HFSQL format. These files can be common to several applications.
  • The user groupware in French version is not compatible with the user groupware in International version: different analysis, different file names, variables with different names, etc.


In WEBDEV, the user groupware stores the IP addresses of the Web users who use the website if history is enabled.
Related Examples:
WD User Groupware Training (WINDEV): WD User Groupware
[ + ] This example presents the operating mode of the User Groupware supplied with WINDEV.
The following topics are presented in this example:
1/ What is the User Groupware
2/ How can the User Groupware be included in my application
3/ How do I configure the User Groupware

Summary of the example supplied with WINDEV:
This example presents some features proposed by the User Groupware of WINDEV. It is based on an example for managing the user accounts. Some users have the rights to view the accounts while other users have the rights to perform operations (transfer, loan…)
Minimum version required
  • Version 18
This page is also available for…
Novo Exemplo de Groupware com MS SQL Server

Bons estudos!
29 Mar. 2017
Acessando o groupware usando o banco de dados Ms SQL Server com o driver nativo
ok1, ok2 is boolean

myConn is Connection
myConn..Provider = hNativeAccessSQLServer
myConn..User = "adriano"
myConn..Password = "adriano@2016"
myConn..Source = "\Projeto01"
myConn..Database = "Projeto01"
myConn..Access = hOReadWrite

ok1 = HOpenConnection(myConn)

ok2 = gpwOpenConnection(myConn)


If ok1 = true and ok2 = true

IF gpwInitAnalysis() = False THEN
Info("Conexão ok com o banco de dados SQL Server e ativou o groupware")


IF ok = False THEN

Info("Falha ao tentar conectar no Servidor")


Info("Conectou com sucesso no banco de dados!")

28 Nov. 2016
 How to list groupware user in a combobox?
sDBRootPath is string //diretorio dos arquivos no HFSQL

sDBRootPath = HSetServer(IS2AutomotiveHFSQL,hDatabasePath)

sDBRGPWootPath is string //diretorio dos arquivos do GroupWare no HFSQL

sDBRGPWootPath = sDBRootPath + "\" + IS2AutomotiveHFSQL..Database + "\Gpw_IS2Automotive\"

sNomeArquivoUsuarios is string = "GPU_User.FIC"

dsUsuarios is Data Source


HDeclareExternal(sDBRGPWootPath + sNomeArquivoUsuarios,dsUsuarios,"PCSGPW2001")


WHILE NOT HOut(dsUsuarios)




16 Apr. 2016