# Retrieve account and role details for the currently authenticated user Returns the user account and role details for the currently authenticated user on the on-premise EMS API surface. Exempt from strict role-based access control; accessible before sign-up completion. ## Endpoint `GET /emsapi/uac/userMeta` ## Request URL `https://{server-hostname}:8383/emsapi/uac/userMeta` ## Scope `Common.READ` ## Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **accept** (`string`, **Mandatory**): `application/userMeta.v1+json` Specifies the expected response format. Set to `application/userMeta.v1+json` to receive the user meta response in JSON format. ### Sample Request ```curl curl --request GET \ --url https://appdomain/emsapi/uac/userMeta \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \ --header 'accept: application/userMeta.v1+json' ``` ## Response Parameters ### HTTP Code 200 Response Body: `application/json` - JSON object - **loginID** (`string`): Unique login identifier for the authenticated user. - **userName** (`string`): Username of the authenticated user. - **mailID** (`string`): Email address of the user account. - **roleID** (`string`): Unique identifier of the role assigned to the user. - **roleName** (`string`): Name of the role assigned to the user. - **isSuperAdmin** (`boolean`): Indicates whether the user has super-administrator privileges. - **computerScopeType** (`integer`): Computer scope type assigned to the user (`0` = All computers, `1` = Custom scope). - **isSDPUser** (`boolean`): Indicates whether the user is associated with the Software Deployment Platform (SDP). - **accountType** (`string`): Account type for the user (e.g., local, ad). - **loginName** (`string`): Display name of the user as shown in the console. ### Sample Response: HTTP 200 User account and role details for the currently authenticated on-premise user. ```json { "computerScopeType": 0, "loginID": "302", "roleID": "4", "isSDPUser": false, "accountType": "local", "loginName": "Alex Morgan", "roleName": "Security Auditor", "mailID": "alex.morgan@example.com", "isSuperAdmin": false, "userName": "alex.morgan" } ``` ## Possible Response Codes - **200**: HTTP code ![ ](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 60 | **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.