Command line parameters

Command line parameters are used while running the scheduled task, see Create a scheduled task transfer and its default setting from the initial setup may be changed.

To change the setup, open the Scheduled Task window and select the Task tab. In the Run field, you can see the default command line parameters.

In the table below is an overview of command line parameters, their default values and comments:

Parameter Default value Comment
/db=<database name> No default value. Defines the WorkZone Database
/window /nowindow or /wizard If the database is specified, /window is the default. If the database is not specified, /wizard is the default. Defines whether the program should show GUI and whether it should be the transfer status window (\window) or the wizard (\wizard).
/forceupdate No default value. Configuration file changes since last transfer will be checked. Shows that all data (user, user information, and so on) needs to be updated. If it is not specified, the modified date in AD is compared with the last transfer.
/config=<file name> SJADConfiguration<database name>.xml Defines the location of the configuration file.
/setsid=<SystemUser> No default value.

This user must be present in AD, but should not be included as a member of any of the administrative groups or access code groups.

As a result, the system user is looked up in the domain where the SID is read and is written into the database, so that the user can log on to WorkZone.

Normal replication is not performed - only this single user is handled.

/useGroupAsOU No default value.

When used, the wizard uses the template SJADConfiguration-templateOU.xml instead of the template SJADConfiguration-template.xml, and this way forces use of Active Directory groups to represent Organizational units instead of Active Directory organizational units.

/readcheck No default value.

If this parameter is applied, a check is carried out and only if no errors are found, the replication is performed.

/logfile sjad_replication.log

The log file will be located in the folder where Active Directory Connector is run from.

You can use the option /logfile when the option /nowindow is used. The information that is displayed on the screen when clicking Transfer, is logged to a file, either to the default file or to a specific file, for example /logfile=c:\ADlogs\ADrep.log.

/Showrenaming No default value.

If this parameter is applied, the following check boxes will be displayed in the Active Directory Connector configuration form:

  • Allow renaming of users
  • Allow renaming of org. units
  • Allow renaming of groups
  • Allow renaming of committees
  • Allow new instances users

The settings determine if users, organizational units, group and committees can e renamed in the Active Directory.