ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Control Centers / WEBDEV Account Manager
  • Overview
  • Manage deployment accounts
  • Deployment account parameters file
  • Creating a WEBDEV deployment account
  • Modifying a WEBDEV deployment account
  • Deleting a deployment account
  • Reading the information about a deployment account
  • Getting the list of deployment accounts
  • Managing applications
  • Deleting an application
  • Associating an application with a WEBDEV deployment account
  • List of applications of a deployment account
  • Listing the unassigned applications
  • Managing SOAP/REST web services and WebSocket servers
  • Deleting a SOAP/REST web service or a WebSocket server
  • Assigning a SOAP/REST web service or WebSocket server to a WEBDEV deployment account
  • List of SOAP/REST web services or WebSocket servers of an account
  • List of unassigned SOAP/REST web services or WebSocket servers
  • Migrating accounts, sites and web services
  • Migrating a user account
  • Migrating a WEBDEV site
  • Migrating a SOAP and REST web service
  • Migrating a WebSocket server
  • Migrating everything
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
Handling WEBDEV Account Manager via command line
Manage deployment accounts

Deployment account parameters file

WEBDEV deployment accounts are managed using a file that contains the account parameters. This file is a text file with any extension. This file has the following structure:
[MAIN]
NOM=Smith
PRENOM=Alan
SOCIETE=PCSOFT
CONNEXION=66
LOGINOS=Smith

[DIR]
FTP=d:\temp\ftp
APPLI=d:\AppliWW\Smith
FICHIER=d:\DataWW\Smith
Details of these parameters:
[MAIN] section
NOMLast name of the account user
PRENOMFirst name of the account user
SOCIETECompany of the account user
CONNEXIONTotal number of connections allowed for this account
EMAILEmail address of the account user
ADRESSEAddress of the account user
TELEPHONEPhone number of account user
DIVERSAdditional notes
INTERDIT
  • 0 if the account is enabled,
  • 1 if the account is disabled.
ADMIN
  • 2 for an exclusive deployment administrator account,
  • 1 for a deployment administrator account,
  • 0 for a deployment account.
LOGINOSName of the Windows account used for the installation (deployment) and remote administration. The associated password is the one used for the Windows account.
LOGINOSIUSRName of the Windows account used to run sites and webservices. The associated password is the one used for the Windows account.
PWDOSPassword of the Windows account used for the installation (deployment) and remote administration. This password is only used in cluster mode.
PWDOSIUSRPassword for the Windows account used to run sites and webservices. This password is only used in cluster mode.
[DIR] section
FTPDirectory used for the transfer by FTP.
APPLIDirectory of applications and WEBDEV sites associated with this account.
FICHIERDirectory of data files for the applications and WEBDEV sites associated with this account.
WEBSERVICEDirectory of the SOAP web services associated with this account.
WEBSERVICERESTDirectory of the REST web services associated with this account.
SERVEURSWEBSOCKETDirectory of Websocket servers associated with this account.
[HFCS1] sectionThis section is optional. It is used to describe the HFSQL server when using an HFSQL Client/Server database.
SERVEURIP address of the HFSQL server
PORTPort of HFSQL server
LOGINLogin of the user of the HFSQL Client/Server database
PASSEPassword of the user of the HFSQL Client/Server database
BASEHFSQL Client/Server database

Creating a WEBDEV deployment account

To create a new WEBDEV deployment account via a command line and a parameter file:
  1. Create a file containing the parameters of the account to create.
  2. Start CCHebergement with the following command line:
    CCHebergement.exe /CREATEUSER /PARAM="<Full path of parameter file>"
Remark: The password is the one used for the Windows account.
Caution: The parameter file is NOT deleted at the end of the account creation.

Modifying a WEBDEV deployment account

To modify a WEBDEV deployment account via a command line and a parameter file:
  1. Create a file containing the parameters of the account to modify.
  2. Start CCHebergement with the following command line:
    CCHebergement.exe /MODUSER /PARAM="<Full name of parameter file>"
The parameters that are not specified in the parameter file are not modified.
Caution: The parameter file is NOT deleted at the end of the account creation.

Deleting a deployment account

The following syntax allows you to delete an account via a command line:
CCHebergement.exe /DELETEUSER /PARAM="<LOGINOS>"

Reading the information about a deployment account

The following syntax enables you to read the account details:
CCHebergement.exe /INFOUSER /PARAM="<Full name of parameter file>" /USER="<LOGINOS>"
The parameter file is created with the information about the user account identified by its LOGINOS.

Getting the list of deployment accounts

To read the information about the different deployment accounts via a command line, use the following syntax:
CCHebergement.exe /LISTUSER /PARAM="<Full name of parameter file>"
The parameter file is created with the information about the different user accounts.
Managing applications

Deleting an application

To delete an application or a WEBDEV site via a command line, use following syntax:
CCHebergement.exe /DELETEAPP /APP="<Application name>"

Associating an application with a WEBDEV deployment account

To assign an application or a WEBDEV site to a WEBDEV deployment account via a command line, use the following syntax:
CCHebergement.exe /ATTRIBAPP /APPLI="<Application name>" /USER="<Login>"

List of applications of a deployment account

To list the applications of a deployment account via a command line, use the following syntax:
CCHebergement.exe /LISTAPPUSER /PARAM="<List file>" /USER="<Login>"
The applications are listed in <List file>.

Listing the unassigned applications

To find out the list of unassigned applications via a command line, use the following syntax:
CCHebergement.exe /LISTAPPFREE /PARAM="<List file>"
The applications are listed in <List file>.
Managing SOAP/REST web services and WebSocket servers

Deleting a SOAP/REST web service or a WebSocket server

  • To delete a SOAP web service with a command line, use the following syntax:
    CCHebergement.exe /DELETEWEBSERVICE /WEBSERVICE="<Web service name>"
  • To delete a REST web service with a command line, use the following syntax:
    CCHebergement.exe /DELETEWEBSERVICEREST /WEBSERVICEREST="<REST web service name>"
  • To delete a WebSocket server with a command line, use the following syntax:
    CCHebergement.exe /DELETESERVEURWEBSOCKET /SERVEURWEBSOCKET="<WebSocket server name>"

Assigning a SOAP/REST web service or WebSocket server to a WEBDEV deployment account

  • To assign a SOAP web service to a WEBDEV deployment account using a command line, use the following syntax:
    CCHebergement.exe /ATTRIBWEBSERVICE /WEBSERVICE="<Web service name>" /USER="<Login>"
  • To assign a REST web service to a WEBDEV deployment account using a command line, use the following syntax:
    CCHebergement.exe /ATTRIBWEBSERVICEREST
    WEBSERVICEREST="<REST web service name>" /USER="<Login>"
  • To assign a WebSocket server to a WEBDEV deployment account using a command line, use the following syntax:
    CCHebergement.exe /ATTRIBSERVEURWEBSOCKET
    /SERVEURWEBSOCKET="<WebSocket server name>"
    /USER="<Login>"

List of SOAP/REST web services or WebSocket servers of an account

  • To list the SOAP web services for a deployment account using a command line, use the following syntax:
    CCHebergement.exe /LISTWEBSERVICEUSER /PARAM="<List file>" /USER="<Login>"
  • To list the REST web services for a deployment account using a command line, use the following syntax:
    CCHebergement.exe /LISTWEBSERVICEUSERREST /PARAM="<List file>" /USER="<Login>"
  • To list the WebSocket servers for a deployment account using a command line, use the following syntax:
    CCHebergement.exe /LISTSERVEURSWEBSOCKETUSER /PARAM="<List file>" /USER="<Login>"
The web services and WebSocket servers are listed in the <List file>.

List of unassigned SOAP/REST web services or WebSocket servers

  • To get the list of unassigned SOAP web services using a command line, use the following syntax:
    CCHebergement.exe /LISTWEBSERVICEFREE /PARAM="<List file>"
  • To get the list of unassigned REST web services using a command line, use the following syntax:
    CCHebergement.exe /LISTWEBSERVICERESTFREE /PARAM="<List file>"
  • To get the list of unassigned WebSocket servers using a command line, use the following syntax:
    CCHebergement.exe /LISTSERVEURSWEBSOCKET /PARAM="<List file>"
The web services and WebSocket servers are listed in the <List file>.
Migrating accounts, sites and web services

Migrating a user account

To migrate a user account via a command line, use the following syntax:
CCHebergement.exe /MIGREUSER [/VERSIONMIGRATION=<Version to migrate>] [/MIGRERESETUSER]
<Version to migrate> corresponds to the version number of the account to migrate.
If this parameter corresponds to *, all the previous versions will be migrated, from the most recent version to the older one. If the account already exists, it is not replaced.
If this parameter is not specified, only the version before the latest version is migrated.
The MIGRERESETUSER keyword is used to delete the users of the current version before the migration. This keyword is mainly used to delete the "admin" account automatically created during the setup.

Migrating a WEBDEV site

To migrate a WEBDEV site via a command line, use the following syntax:
CCHebergement.exe /MIGREAPP [/VERSIONMIGRATION=<Version to migrate>]
<Version to migrate> corresponds to the version number of the site to migrate.
If this parameter corresponds to *, all the previous versions will be migrated, from the most recent version to the older one. If the site already exists, it is not replaced.
If this parameter is not specified, only the version before the latest version is migrated.

Migrating a SOAP and REST web service

To migrate a web service via a command line, use the following syntax:
CCHebergement.exe /MIGREWEBSERVICE [/VERSIONMIGRATION=<Version to migrate>]
CCHebergement.exe /MIGREWEBSERVICEREST [/VERSIONMIGRATION=<Version to migrate>]
<Version to migrate> corresponds to the version number of the web service to migrate.
If this parameter corresponds to *, all the previous versions will be migrated, from the most recent version to the older one. If the webservice already exists, it is not replaced.
If this parameter is not specified, only the version before the latest version is migrated.

Migrating a WebSocket server

To migrate a WebSocket server site via a command line, use the following syntax:
CCHebergement.exe /MIGRESERVEURSWEBSOCKET [/VERSIONMIGRATION=<Version to migrate>]
<Version to migrate> corresponds to the version number of the WebSocket server to migrate.
If this parameter corresponds to *, all the previous versions will be migrated, from the most recent version to the older one. If the WebSocket server already exists, it is not replaced.
If this parameter is not specified, only the version before the latest version is migrated.

Migrating everything

To migrate users, sites and web services via a command line, use the following syntax:
CCHebergement.exe /MIGREALL
[/VERSIONMIGRATION=<Version to migrate>] [/MIGRERESETUSER]
<Version to migrate> corresponds to the version number of the account to migrate.
If this parameter corresponds to *, all the previous versions will be migrated, from the most recent version to the older one. If the account, the site or the web service already exists, it is not replaced.
If this parameter is not specified, only the version before the latest version is migrated.
The MIGRERESETUSER keyword is used to delete the users of the current version before the migration. This keyword is mainly used to delete the "admin" account automatically created during the setup.
Minimum version required
  • Version 26
Comments
Click [Add] to post a comment

Last update: 10/02/2023

Send a report | Local help