Actions86
- Config Actions
- Container Actions
- Edge Group Actions
- Edge Stack Actions
- Environment Actions
- Image Actions
- Network Actions
- Node Actions
- Registry Actions
- Secret Actions
- Service Actions
- Setting Actions
- Stack Actions
- System Actions
- Team Actions
- Template Actions
- User Actions
- Volume Actions
- Webhook Actions
User → Get
AI-generatedOverview
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
- Fetch a user's details by their ID to display user information in an admin dashboard.
- 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
- Portainer API Users Endpoint - Official documentation for the Portainer API user management endpoints.