Skip to content

ndi.cloud.users.get_user

  GET_USER - get a user

  [STATUS,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 authentification token

  Outputs:
    STATUS - did get request work? 1 for no, 0 for yes
    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