Actions32
- Device Actions
- Control Windows Service
- Get
- Get Activities
- Get Alerts
- Get Custom Fields
- Get Dashboard URL
- Get Disks
- Get Jobs
- Get Last Logged On User
- Get Many
- Get Network Interfaces
- Get OS Patch Installs
- Get OS Patches
- Get Policy Overrides
- Get Processors
- Get Software
- Get Software Patch Installs
- Get Software Patches
- Get Volumes
- Get Windows Services
- Reboot Device
- Run Script
- Update Custom Fields
- Ticket Actions
- Organization Actions
Device → Get Last Logged On User
AI-generatedOverview
This node interacts with the NinjaOne API to retrieve the last logged on user information for a specified device. It is useful in IT management scenarios where administrators need to track user activity on devices managed through NinjaOne. For example, it can be used to audit device usage or troubleshoot user-specific issues by identifying the last user who logged into a device.
Use Case Examples
- Retrieve the last logged on user for a device to audit user activity.
- Get the last logged on user to troubleshoot access issues on a specific device.
Properties
| Name | Meaning |
|---|---|
| Device ID | ID of the device for which to get the last logged on user. |
| Request Options | Additional request settings such as batching, SSL certificate validation, proxy configuration, and timeout settings. |
Output
JSON
lastLoggedOnUser- Information about the last user who logged on to the specified device.
Dependencies
- NinjaOne API with OAuth2 authentication
Troubleshooting
- Ensure the Device ID is correct and the device exists in NinjaOne; otherwise, the API may return an error or empty result.
- Check network connectivity and proxy settings if requests fail or time out.
- If SSL certificate validation fails and the option to ignore SSL issues is not enabled, the request will be blocked.
- API rate limits may affect performance if batching is not configured properly.