Skip to content

ndi.cloud.api.users.get_user

  GET_USER - get a user

  [RESPONSE, NAME, EMAIL, ORGANIZATIONS] = ndi.cloud.user.get_user(USER_ID, AUTH_TOKEN)

  Inputs:
    USER_ID - a string representing the user's id
    AUTH_TOKEN - a string representing the authentication token

  Outputs:
    RESPONSE - a message indicates if the user is found
    NAME - a string representing the user's name
    EMAIL - a string representing the user's e-mail
    ORGANIZATIONS - a json object representing the organization information