Managing CTERA Portal Users > Fetching the Details of an Existing Portal User
Fetching the Details of an Existing Portal User
Fetch the details of an existing CTERA Portal user.
API
admin/api/users
Or, for an Active Directory user:
admin/api/domains/domain_name/adUsers
URI
{BASE_URL}/users/user_ID
Or, for an Active Directory user:
{BASE_URL}/domains/domain_name/adUsers/user_ID
HTTP Method
GET
Request Body
empty
Response Body
The PortalUser object in XML format.
Expected Response status
200 OK
Java Example
To fetch the details of the user jsmith, use the following:
userDetails = getObject(httpClient, baseUrl+ "/users/jsmith")