Get details of a specific user

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

Fetches profile and scope details for the specified user.

Endpoints

Request URL

https://{server-hostname}:8383/emsapi/users/{userId}

Scope

Admin.READCopied!

Header

Authorization: d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Path Parameters

userIdstringMandatory

Unique user identifier. To get user id click here. Get User Id

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request GET \
  --url https://appdomain/emsapi/users/{userId} \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Response Parameters

- HTTP code 200

Response Body - application/json
JSON object
Hide Sub-Attributes
computerScopeTypeinteger

Computer scope type assigned to the user.

phoneNumberstring

Phone number of the user.

roleIDstring

Role identifier assigned to the user.

roleNamestring

Name of the role assigned to the user.

deviceScopeTypeinteger

Device scope type for MDM access control.

mailIDstring

Email address of the user.

languagestring

Locale or language configured for the user account.

userNamestring

Username for the user account.

authTypestring

Authentication type used by the user (e.g., 'localAuthentication' or 'adAuthentication').

Possible Response Codes

200HTTP code

Sample Response: HTTP 200

Fetch user profile details with role and scope information.

Copied!
  {
    "computerScopeType": 0,
    "phoneNumber": "22222676",
    "roleID": "4",
    "roleName": "Security Auditor",
    "deviceScopeType": 0,
    "mailID": "alex.morgan@example.com",
    "language": "en_US",
    "userName": "alex.morgan",
    "authType": "localAuthentication"
  }
                
Show full

Duration: 1 minute | Threshold: 30 | Lock period: 5 minutes

Duration - Time window for the threshold.
Threshold - Number of API calls allowed within the specified duration.
Lock Period - Wait time before consecutive API requests.