# Retrieves the latest logged-on users for a computer, including integration authentication support Returns the latest list of users logged on to the specified computer. Supports the sdpToolsIntegAuth authentication flow for service desk integration scenarios. ## Endpoint `GET /dcapi/tools/{resourceId}/resourceUsers` ## Request URL `https://[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/dcapi/tools/{resourceId}/resourceUsers` ## Scope `DesktopCentralCloud.Tools.READ` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** `string` **Mandatory**: `application/json` ### Path Parameters - **resourceId** `string` **Mandatory** The unique identifier of the target device ## Sample Request ```curl curl --request GET \ --url https://appdomains/dcapi/tools/{resourceId}/resourceUsers \ --header 'Accept: application/json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP code 200 #### Response Body — application/json `JSON Object` - **users** `array` Array of user objects with userName, domainName, logonTime, and sessionType ## Sample Response: HTTP 200 ```json { "users": [ { "logonTime": 1711300000000, "domainName": "CORP", "sessionType": "Active", "userName": "jane.smith" } ] } ``` ![ ](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.