Repotools command that creates or updates a batch of users
from a file.
Purpose
The importUsers command
can be used to create or update a batch of users from a CSV file.
The format of the file is a comma separated list of userid, e-mail
address, name, license id, and role name.
Parameters
| Attribute |
Description |
Required |
Default |
| fromFile |
The path to the file containing the users to be created or
updated. |
Yes |
users.csv |
| generatePassword |
Use this parameter to generate random passwords for newly
created users, instead of using a password that matches the user ID. |
No |
N/A |
| repositoryURL |
The connection URL for the server. |
No |
https://localhost:9443/jazz |
| adminUserId |
Admin user ID to login to the Jazz repository. |
No |
ADMIN |
| adminPassword |
Admin password to login to the Jazz repository. |
No |
ADMIN |
| credentialsFile |
The file containing the admin user's login credentials. |
No |
credentials.properties |
| logFile |
Path to the log file. |
No |
repotools_importUsers.log |
Sample
repotools -importUsers fromFile=users.csv