PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Manage the WEBDEV accounts
  • Parameter file of user accounts
  • Create a WEBDEV account
  • Modifying a WEBDEV account
  • Deleting an account
  • Reading the information about an account
  • Finding out the list of accounts
  • Managing applications
  • Deleting an application
  • Asociating an application with a WEBDEV account
  • Listing the applications found in an account
  • Listing the unassigned applications
  • Managing Webservices
  • Deleting a Webservice
  • Assigning a Webservice to a WEBDEV account
  • Listing the Webservices found in an account
  • Listing the unassigned Webservices
  • Migrating the accounts, the sites and the Webservices
  • Migrating a user account
  • Migrating a WEBDEV site
  • Migrating a Webservice
  • Migrating everything
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
Manage the WEBDEV accounts

Parameter file of user accounts

The WEBDEV accounts are handled from a file containing the parameters of the account. This file is a text file with any extension. This file has the following structure:
[MAIN]
NOM=Smith
PRENOM=Alan
LOGIN=ASmith
PASSWORD=Secret
SOCIETE=PCSOFT
CONNEXION = 66

[DIR]
FTP=d:\temp\ftp
APPLI=d:\AppliWW\Smith
FICHIER=d:\DataWW\Smith
Details of these parameters:
[MAIN] section
LOGINLogin of account user. This parameter is mandatory because it is used as identifier.
NAMELast name of the account user
PRENOMFirst name of the account user
PASSWORDPassword of the account user
SOCIETECompany of the account user
CONNECTIONTotal 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
  • 1 for an administrator account,
  • 0 for a user account.
Versions 20 and later
LOGINOS
New in version 20
LOGINOS
LOGINOS
Windows account for remote setup (deployment) and management
Versions 20 and later
LOGINOSIUSR
New in version 20
LOGINOSIUSR
LOGINOSIUSR
Windows account for running sites and webservices
[DIR] section
FTPDirectory used for the transfer by FTP
APPDirectory 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 Webservices associated with this account.
[HFCS1] sectionThis section is optional. It is used to describe the HFSQL server when using a HFSQL Client/Server database
SERVERIP 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
DATABASEHFSQL Client/Server database

Create a WEBDEV account

To create a new WEBDEV account via a command line and a parameter file:
  1. Create a file containing the parameters of the account to create.
  2. Start WDCompte from the following command line:
WDCompte.exe /CREATEUSER /PARAM="<Full Path of Parameter File>"
Caution: The parameter file is NOT deleted at the end of the account creation.

Modifying a WEBDEV account

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

Deleting an account

To delete an account via a command line, use the following syntax:
WDCompte.exe /DELETEUSER /PARAM="<LOGIN>"

Reading the information about an account

To read the information regarding an account via a command line, use the following syntax:
WDCompte.exe /INFOUSER /PARAM="<Full Path of Parameter File>" /USER="<LOGIN>"
The parameter file is created with the information regarding the user account identified by its LOGIN.

Finding out the list of accounts

To read the information regarding the different accounts via a command line, use the following syntax:
WDCompte.exe /LISTUSER /PARAM="<Full Name of Parameter File>"
The parameter file is created with the information regarding the different user accounts.
Managing applications

Deleting an application

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

Asociating an application with a WEBDEV account

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

Listing the applications found in an account

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

Listing the unassigned applications

To find out the list of unassigned applications via a command line, use the following syntax:
WDCompte.exe /LISTAPPFREE /PARAM="<File List>"
The applications are listed in the <File List> file.
Versions 18 and later
Feature available from version 180044
Managing Webservices

Deleting a Webservice

To delete a Webservice via a command line, use the following syntax:
WDCompte.exe /DELETEWEBSERVICE /WEBSERVICE="<Webservice Name>"

Assigning a Webservice to a WEBDEV account

To assign a Webservice to a WEBDEV account via a command line, use the following syntax:
WDCompte.exe /ATTRIBWEBSERVICE /WEBSERVICE="<Webservice Name>" /USER="<Login>"

Listing the Webservices found in an account

To list the Webservices found in an account via a command line, use the following syntax:
WDCompte.exe /LISTWEBSERVICEUSER /PARAM="<List File>" /USER="<Login>"
The webservices are listed in the <File List> file.

Listing the unassigned Webservices

To find out the list of unassigned Webservices via a command line, use the following syntax:
WDCompte.exe /LISTWEBSERVICEFREE /PARAM="<List File>"
The Webservices are listed in the <File List> file.
New in version 18
Feature available from version 180044
Managing Webservices

Deleting a Webservice

To delete a Webservice via a command line, use the following syntax:
WDCompte.exe /DELETEWEBSERVICE /WEBSERVICE="<Webservice Name>"

Assigning a Webservice to a WEBDEV account

To assign a Webservice to a WEBDEV account via a command line, use the following syntax:
WDCompte.exe /ATTRIBWEBSERVICE /WEBSERVICE="<Webservice Name>" /USER="<Login>"

Listing the Webservices found in an account

To list the Webservices found in an account via a command line, use the following syntax:
WDCompte.exe /LISTWEBSERVICEUSER /PARAM="<List File>" /USER="<Login>"
The webservices are listed in the <File List> file.

Listing the unassigned Webservices

To find out the list of unassigned Webservices via a command line, use the following syntax:
WDCompte.exe /LISTWEBSERVICEFREE /PARAM="<List File>"
The Webservices are listed in the <File List> file.
Feature available from version 180044
Managing Webservices

Deleting a Webservice

To delete a Webservice via a command line, use the following syntax:
WDCompte.exe /DELETEWEBSERVICE /WEBSERVICE="<Webservice Name>"

Assigning a Webservice to a WEBDEV account

To assign a Webservice to a WEBDEV account via a command line, use the following syntax:
WDCompte.exe /ATTRIBWEBSERVICE /WEBSERVICE="<Webservice Name>" /USER="<Login>"

Listing the Webservices found in an account

To list the Webservices found in an account via a command line, use the following syntax:
WDCompte.exe /LISTWEBSERVICEUSER /PARAM="<List File>" /USER="<Login>"
The webservices are listed in the <File List> file.

Listing the unassigned Webservices

To find out the list of unassigned Webservices via a command line, use the following syntax:
WDCompte.exe /LISTWEBSERVICEFREE /PARAM="<List File>"
The Webservices are listed in the <File List> file.
Versions 18 and later
Feature available from version 180044
Migrating the accounts, the sites and the Webservices

Migrating a user account

To migrate a user account via a command line, use the following syntax:
WDCompte.exe /MIGREUSER [/VERSIONMIGRATION=<Version Number to Migrate>] [/MIGRERESETUSER]
<Version Number 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 found before the most recent one 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:
WDCompte.exe /MIGREAPP [/VERSIONMIGRATION=<Version Number to Migrate>]
<Version number 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 found before the most recent one is migrated.

Migrating a Webservice

To migrate a Webservice via a command line, use the following syntax:
WDCompte.exe /MIGREWEBSERVICE [/VERSIONMIGRATION=<Version Number to Migrate>]
<Version Number to Migrate> corresponds to the version number of the Webservice 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 found before the most recent one is migrated.

Migrating everything

To migrate the users, the sites and the Webservices via a command line, use the following syntax:
WDCompte.exe /MIGREALL [/VERSIONMIGRATION=<Version Number to Migrate>] [/MIGRERESETUSER]
<Version Number 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 Webservice already exists, it is not replaced.
If this parameter is not specified, only the version found before the most recent one 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.
New in version 18
Feature available from version 180044
Migrating the accounts, the sites and the Webservices

Migrating a user account

To migrate a user account via a command line, use the following syntax:
WDCompte.exe /MIGREUSER [/VERSIONMIGRATION=<Version Number to Migrate>] [/MIGRERESETUSER]
<Version Number 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 found before the most recent one 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:
WDCompte.exe /MIGREAPP [/VERSIONMIGRATION=<Version Number to Migrate>]
<Version number 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 found before the most recent one is migrated.

Migrating a Webservice

To migrate a Webservice via a command line, use the following syntax:
WDCompte.exe /MIGREWEBSERVICE [/VERSIONMIGRATION=<Version Number to Migrate>]
<Version Number to Migrate> corresponds to the version number of the Webservice 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 found before the most recent one is migrated.

Migrating everything

To migrate the users, the sites and the Webservices via a command line, use the following syntax:
WDCompte.exe /MIGREALL [/VERSIONMIGRATION=<Version Number to Migrate>] [/MIGRERESETUSER]
<Version Number 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 Webservice already exists, it is not replaced.
If this parameter is not specified, only the version found before the most recent one 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.
Feature available from version 180044
Migrating the accounts, the sites and the Webservices

Migrating a user account

To migrate a user account via a command line, use the following syntax:
WDCompte.exe /MIGREUSER [/VERSIONMIGRATION=<Version Number to Migrate>] [/MIGRERESETUSER]
<Version Number 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 found before the most recent one 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:
WDCompte.exe /MIGREAPP [/VERSIONMIGRATION=<Version Number to Migrate>]
<Version number 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 found before the most recent one is migrated.

Migrating a Webservice

To migrate a Webservice via a command line, use the following syntax:
WDCompte.exe /MIGREWEBSERVICE [/VERSIONMIGRATION=<Version Number to Migrate>]
<Version Number to Migrate> corresponds to the version number of the Webservice 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 found before the most recent one is migrated.

Migrating everything

To migrate the users, the sites and the Webservices via a command line, use the following syntax:
WDCompte.exe /MIGREALL [/VERSIONMIGRATION=<Version Number to Migrate>] [/MIGRERESETUSER]
<Version Number 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 Webservice already exists, it is not replaced.
If this parameter is not specified, only the version found before the most recent one 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 required version
  • Version 9
Comments
Click [Add] to post a comment