Actions28
User → Get Many
AI-generatedOverview
This node interacts with the Twingate GraphQL API to manage users. Specifically, the 'Get Many' operation under the 'User' resource retrieves multiple user records. It supports fetching all users or limiting the number of users returned. This is useful for scenarios where you need to list users for administrative purposes, reporting, or synchronization with other systems.
Use Case Examples
- Retrieve all users in the Twingate system to generate a user report.
- Fetch a limited number of users to display in a dashboard or UI component.
Properties
| Name | Meaning |
|---|---|
| Return All | Whether to return all user results or only up to a given limit. |
| Limit | Maximum number of user results to return when 'Return All' is false. |
Output
JSON
id- Unique identifier of the user.email- Email address of the user.firstName- First name of the user.lastName- Last name of the user.role- Role assigned to the user (e.g., Admin, Member).state- Current state of the user account.type- Type classification of the user.createdAt- Timestamp when the user was created.updatedAt- Timestamp when the user was last updated.
Dependencies
- Requires Twingate API credentials including network name and API token for authentication.
Troubleshooting
- Common issues include API authentication failures due to invalid or missing API tokens.
- GraphQL errors may occur if query parameters are incorrect or if the user ID does not exist.
- Rate limiting or network errors can cause request failures; ensure network connectivity and API limits are respected.
Links
- Twingate GraphQL API Documentation - Official documentation for Twingate's GraphQL API used by this node.