|
- 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
WDCompte can be used in command line. You can: 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 | |
---|
LOGIN | Login of account user. This parameter is mandatory because it is used as identifier. | NAME | Last name of the account user | PRENOM | First name of the account user | PASSWORD | Password of the account user | SOCIETE | Company of the account user | CONNECTION | Total number of connections allowed for this account | EMAIL | Email address of the account user | ADRESSE | Address of the account user | TELEPHONE | Phone number of account user | DIVERS | Additional 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 laterLOGINOS New in version 20LOGINOS LOGINOS | Windows account for remote setup (deployment) and management | Versions 20 and laterLOGINOSIUSR New in version 20LOGINOSIUSR LOGINOSIUSR | Windows account for running sites and webservices | [DIR] section | | FTP | Directory used for the transfer by FTP | APP | Directory of applications and WEBDEV sites associated with this account | FICHIER | Directory of data files for the applications and WEBDEV sites associated with this account. | WEBSERVICE | Directory of SOAP Webservices associated with this account. | WEBSERVICEREST | Directory of REST Webservices associated with this account. | [HFCS1] section | This section is optional. It is used to describe the HFSQL server when using a HFSQL Client/Server database | SERVER | IP address of the HFSQL server | PORT | Port of HFSQL server | LOGIN | Login of the user of the HFSQL Client/Server database | PASSE | Password of the user of the HFSQL Client/Server database | BASE | HFSQL Client/Server database |
Create a WEBDEV account To create a new WEBDEV account via a command line and a parameter file: - Create a file containing the parameters of the account to create.
- 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: - Create a file containing the parameters of the account to modify.
- 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. 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 laterFeature available from version 180044 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 18Feature available from version 180044 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 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 laterFeature available from version 180044Migrating 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 18Feature available from version 180044Migrating 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 180044Migrating 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.
|
|
|
| |
| Click [Add] to post a comment |
|
| |
|
| |
| |
| |
| |
| |
| |
| | |
| |