NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: The API Specification says, '“userRole” attribute is optional with the request. If not given, user is enrolled as “USER” role.'

...

  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:

    Code Block
    {
       "firstName": "John",
       "lastName": "Doe",
       "defaultBasePath" : "/FNLCR",
       "doc" : "FNLCR",
       "userRole" : "USER"
    }
  3. Run the following command:

    Code Block
    dm_register_user <userId> <description.json> 

    The following table describes each parameter:

    ParameterDescription
    <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.)

...