NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 37 Next »

If your user account has the group administrator or system administrator role, you can register a user account in the system, which allows that user to use DME. 

To register a user:

  1. Make sure the user has an NIH user account. 
  2. 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"
    }
  3. Run the following command:

    dm_register_user [-h] <userId> <description.json> 

    The following table describes each parameter:

    ParameterDescription
    -hIf you want to print a usage (help) message for this command, specify this option.
    <userId>
    Specify the user's NIH 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 registers the doejohn9 user in 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


  • No labels