NetXMS icon

NetXMS

Interact with the NetXMS network monitoring and management system

User → Get

AI-generated

Summary

Fetches the details of a single NetXMS user by numeric ID, using a GET request to /v1/users/{userId} on the configured NetXMS server.

Inputs

  • User ID (required) — Numeric ID of the user to retrieve. Defaults to 0. It is inserted into the request path, so use the ID of an existing user, for example one returned by User > Get Many.

Output shape

One output item per input item. Each item holds the JSON user record returned by the NetXMS REST API for that ID.

The exact fields come from the NetXMS server and aren't defined in the node. Before the request, the node logs in with the credential's username and password to get a session token. If the login or the lookup fails, the node throws an error. With Continue On Fail enabled, it returns an item shaped like {error: message} instead.

Examples

Example 1: Look up a user's email and full name from an ID produced by an earlier step.

Resource: User, Operation: Get, User ID: ={{$json.userId}}

Example 2: Check that a user exists before updating or deleting it.

Resource: User, Operation: Get, User ID: 42, with Continue On Fail enabled so a missing user doesn't stop the workflow.

Links

Discussion