Repository tools command to unarchive a user

Use the unarchiveUser command to unarchive an archived user from Jazz Team Server.

Purpose

The unarchiveUser command is used to unarchive a user from Jazz Team Server.
Important: You must shut down the server before you run the command.

Parameters

Attribute Description Required Default
userId The ID of the user to be archived. Yes N/A
repositoryURL The connection URL for the server. No https://localhost:9443/application

where application is jts, ccm, rm, qm, gc, dcc, or relm.

adminUserId The administrator user ID to log in to the repository. No ADMIN
adminPassword The administrator password to log in to the repository. No ADMIN
credentialsFile The file that contains the administrator user's login credentials. No credentials.properties
certificateFile The file that contains the administrator user's login certificate. No None
smartCard The alias to log in using a smart card, or? to list available aliases. No None
logFile Path to the log file. No repotools-application_archiveUser.log

where application is jts, ccm, rm, qm, gc, dcc, or relm.

kerberos Authenticate with Windows user credentials that use Kerberos or SPNEGO by setting to true. Or authenticate with Windows Integrated Authentication by setting to windows. No None

Example

The following example is for Jazz Team Server. To use this command for other applications, run these options from the server directory:
  • IBM® Engineering Workflow Management (Change and Configuration Management application): repotools-ccm
  • IBM Engineering Requirements Management DOORS® Next (Requirements Management application): repotools-rm
  • IBM Engineering Test Management (Quality Management application): repotools-qm
  • Global Configuration Management: repotools-gc
  • Data Collection Component: repotools-dcc
  • IBM Engineering Lifecycle Optimization Engineering Insights: repotools-relm

For Windows
operating system Open a command prompt and enter this command:

cd C:\Program Files\IBM\JazzTeamServer\server\
repotools-jts.bat -unarchiveUser user ID=archivedUser repositoryURL=https://hostname.example.com:9443/jts kerberos=true

For Unix
operating systems Open a command line and enter this command:

cd opt/IBM/JazzTeamServer/server
./repotools-jts.sh -unarchiveUser userId=archivedUser repositoryURL=https://hostname.example.com:9443/jts