# Get details of a specific user Fetches profile and scope details for the specified user. ## Endpoint `GET /emsapi/users/{userId}` ## Request ### Request URL ```text https://{server-hostname}:8383/emsapi/users/{userId} ``` ### Scope ```text Admin.READ ``` ### Header ```text Authorization: d92d4xxxxxxxxxxxxx15f52 ``` ### Request Parameters #### Path Parameters - **userId** `string` — Mandatory Unique user identifier. To get user id click here: [Get User Id](https://www.manageengine.com/products/desktop-central/help/api/onpremise/users-get-user-by-id-on-prem.html?Users_getUsersOnPrem) ### Sample Request ```curl curl --request GET \ --url https://appdomain/emsapi/users/{userId} \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response ### Response Parameters #### HTTP Code 200 Response Body — `application/json` `JSON object` - **computerScopeType** `integer` Computer scope type assigned to the user. - **phoneNumber** `string` Phone number of the user. - **roleID** `string` Role identifier assigned to the user. - **roleName** `string` Name of the role assigned to the user. - **deviceScopeType** `integer` Device scope type for MDM access control. - **mailID** `string` Email address of the user. - **language** `string` Locale or language configured for the user account. - **userName** `string` Username for the user account. - **authType** `string` Authentication type used by the user (e.g., 'localAuthentication' or 'adAuthentication'). ### Possible Response Codes - **200** `HTTP code` ### Sample Response: HTTP 200 Fetch user profile details with role and scope information. ```json { "computerScopeType": 0, "phoneNumber": "22222676", "roleID": "4", "roleName": "Security Auditor", "deviceScopeType": 0, "mailID": "alex.morgan@example.com", "language": "en_US", "userName": "alex.morgan", "authType": "localAuthentication" } ``` ## Rate Limits ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **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.