Actions120
- Alert Actions
- Backup Actions
- Custom Field Actions
- Device Actions
- Document Template Actions
- Group Actions
- Knowledge Base Article Actions
- Location Actions
- Organization Actions
- Organization Document Actions
- Query Actions
- Alerts
- Antivirus Status
- Antivirus Threats
- Backup Usage
- Computer Systems
- Custom Fields
- Custom Fields (Detailed)
- Device Health
- Disks
- Logged-On Users
- Network Interfaces
- Operating Systems
- OS Patch Installs
- OS Patches
- Policy Overrides
- Processors
- RAID Controllers
- RAID Drives
- Scoped Custom Fields
- Scoped Custom Fields (Detailed)
- Software
- Software Patch Installs
- Software Patches
- Volumes
- Windows Services
- Related Item Actions
- Software License Actions
- System Actions
- Get Activities
- Get Contacts
- Get Device Custom Fields
- Get Device Roles
- Get Devices (Detailed)
- Get End Users
- Get Jobs
- Get Locations
- Get Notification Channels
- Get Notification Channels (Enabled)
- Get Organizations (Detailed)
- Get Policies
- Get Scheduled Tasks
- Get Scripting Languages
- Get Scripts
- Get Software Products
- Get Technicians
- Get User Roles
- Ticketing Actions
- User Actions
- Webhook Actions
Device → Get Last Logged-On User
AI-generatedSummary
Fetches the last logged-on user for a specified NinjaOne device using the NinjaOne API. Configure the authentication method and provide the required Device ID; the operation makes a GET request and returns the API response.
Inputs
- Authentication (required) — Choose OAuth2 (Authorization Code) or Client Credentials and configure the corresponding NinjaOne credentials.
- Device ID (required) — Numeric ID of the device whose last logged-on user you want to retrieve.
Output shape
A single record for each input item.
Each API response is returned as one n8n item’s JSON. If the API returns no response body, the node returns {"success":true}; with Continue On Fail enabled, an error is returned in an item’s error field.
