Portainer icon

Portainer

Work with Portainer API data to manage Docker

User → Get

AI-generated

Overview

This node operation retrieves detailed information about a specific user from the Portainer API by their user ID. It is useful in scenarios where you need to fetch user details for management, auditing, or integration purposes within Docker and Portainer environments. For example, you can use this operation to get user profile data or verify user permissions.

Use Case Examples

  1. Fetch a user's details by their ID to display user information in an admin dashboard.
  2. Retrieve user data to synchronize with an external user management system.

Properties

Name Meaning
User ID The unique identifier of the user to retrieve.
Request Options Additional settings for the HTTP request such as batching, SSL certificate validation, proxy configuration, and timeout settings.

Output

JSON

  • id - The unique identifier of the user.
  • username - The username of the user.
  • role - The role assigned to the user within Portainer.
  • email - The email address of the user.
  • created - Timestamp when the user was created.
  • lastLogin - Timestamp of the user's last login.

Dependencies

  • Portainer API
  • An API key credential for authentication

Troubleshooting

  • Ensure the User ID provided is valid and exists in the Portainer system.
  • Check API key credentials and permissions to confirm access to user data.
  • Verify network connectivity and proxy settings if requests fail.
  • If SSL issues occur, consider enabling the option to ignore SSL certificate validation, but be aware of security risks.

Links

Discussion