Actions28
- Alert Actions
- Device Actions
- Organization Actions
- Ticketing Actions
Device → Get Last Logged-On User
AI-generatedSummary
Fetches the last logged-on user for a NinjaOne device using its device ID.
Inputs
- Authentication — Choose OAuth2 (Authorization Code, the default) or Client Credentials; the matching NinjaOne credentials must be configured.
- Device ID (required) — The numeric ID of the device to look up.
Output shape
A single item containing the API response object for the last logged-on user.
Makes a GET request to the device’s last-logged-on-user endpoint. If the API returns no response, the node outputs {"success":true}; with Continue On Fail enabled, errors are returned as an item containing an error message.
