Gets information about user and its assigned networks.

Only administrators are allowed to get information about any user. User-level accounts can only retrieve information about themselves.

Request

HTTP Request

GET /user/{id}

Parameters

Parameter NameRequiredTypeDescription
idYeslongUser identifier. Use the 'current' keyword to get information about the current user.

Authorization

Access JSON Web Token (GetCurrentUser)

Request Body

Do not supply a request body with this method.

Response

If successful, this method returns a User resource in the response body.

Property NameTypeDescription
idintegerUser identifier.
loginstringUser login using during authentication.
roleintegerUser role. Available values:
0: Administrator role
1: Client role
statusintegerUser status. Available values:
0: The user is active
1: The user has been locked out due to invalid login attempts
2: The user has been disabled
lastLogindatetimeUser last login timestamp (UTC).
networksarrayArray of networks associated with the user
networks[].networkobjectAssociated network object.
networks[].network.idintegerNetwork identifier.
networks[].network.namestringNetwork display name.
networks[].network.descriptionstringNetwork description.
introReviewedbooleanIndicates if user reviewed an intro.