PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • How to proceed?
  • Automatic mode
  • Manual mode
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
User groupware and Client/Server data files
HFSQL Client/ServerAvailable only with this kind of connection
Warning
From version 18, the user groupware evolves. This help page corresponds to the user groupware kept for backward compatibility. To get this help page for the new version of user groupware, see User Groupware and Client/Server data files.
Overview
An application that is using the user groupware can be used with a HyperFileSQL database in Client/Server mode.
In order for an application that is using the user groupware to operate in Client/Server mode, you must:
  • convert the existing application into Client/Server mode. See Client/Server for more details.
  • configure the user groupware in order to use the data files found on the server. These operations are presented in this help page.
How to proceed?

Automatic mode

To convert the data files of user groupware into Client/Server mode:
  1. Select "Workshop .. Configure the User Groupware".
  2. In the "Files" tab, select "HyperFileSQL Client/Server".
  3. Specify:
    • the name of the server used
    • the port number used
    • the user name used for the database.
    • the associated password
    • the name of the database
    • the directories of data files
  4. If the data files specific to the user groupware exist (GPWUser, GPWUserConfiguration, GPWConfiguration, GPWElement Configuration, GPWElement), copy these data files onto the server.

Manual mode

To convert the data files of user groupware into Client/Server mode:
  1. The user groupware must not be started in "Automatic run" mode in your application.
    Make sure that "Automatic run" is unchecked in the window for configuring the user groupware ("Workshop .. Configure the user groupware").
  2. In the initialization code of the project, use gpwOpenConnection to describe the connection to the HyperFileSQL Client/Server database.
  3. If the data files specific to the user groupware exist (GPWUser, GPWUserConfiguration, GPWConfiguration, GPWElement Configuration, GPWElement), copy these data files onto the server.
  4. Call gpwOpen to specify the positioning of the data files used to manage the rights as well as the data files used to identify the users. The directories must be specified in relation to the server directory.
Related Examples:
WD CSGroupware Training (WINDEV): WD CSGroupware
[ + ] This example presents the use of the user groupware on a HFSQL Client/Server database.
The user groupware:
The user groupware allows you to define different access levels to an application according to the rights granted to each user. By default, all the rights are granted to the SUPERVISOR group. You have the ability to define groups of users and to configure the available options for each group. For example, all the deletion buttons will be invisible for the "Trainee" group.
The implementation of the user groupware in Client/Server mode is used to centralize the data files on the server (files of your application and files specific to the user groupware).
The example:
When starting the application, you must specify the information for connecting to the Client/Server database. The specified database will be created if it does not exist. Then, the user groupware will ask you to identify yourself.
Two users are proposed:
- SUPERVISOR (password: supervisor)
- USER1 (password: user1)
These two users can access different options of the application.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment