If your user account has the group administrator or system administrator role, you can add a user account to DME.
To add a user:
- Make sure the user has an NIH user account.
In your file system, create a JSON file that specifies the user's first name, last name, and default base path, as follows:
{ "firstName": "John", "lastName": "Doe", "defaultBasePath" : "/FNLCR", "doc" : "FNLCR" }
Run the following command:
dm_register_user [-h] <userId> <description.json>
The following table describes each parameter:
Parameter Description -h If you want to print a usage (help) message for this command, specify this option. <userId>
Specify the user's NIH login user ID. <description.json>
A path to the JSON file that specifies the information about the user.
The system creates the new user with the user role. (To create a user with the group administrator role, contact NCIDataVault@mail.nih.gov.)
For example, the following command adds the doejohn9 user to the DME system, using information from the user-info.json file:
dm_register_user doejohn9 /cygdrive/c/Users/JaneDoe/user-info.json
For instructions on performing a similar task in the GUI, refer to Adding a User via the GUI.