Actions69
- Access Group Actions
- Active Issue Actions
- Appliance Task Actions
- Custom Property Actions
- Customer Actions
- Device Actions
- Device Filter Actions
- Maintenance Window Actions
- Organization Unit Actions
- Report Actions
- Scheduled Task Actions
- Server Info Actions
- Service Organization Actions
- Site Actions
- User Actions
User → Get Roles
AI-generatedSummary
Retrieve user roles associated with a specified organization unit from the N-Central API, supporting optional pagination and sorting.
Inputs
- Org Unit ID (required) — The ID of the organization unit to retrieve user roles for.
- Return All — Whether to return all user roles without pagination.
- Limit — Maximum number of user roles to return per page when pagination is enabled.
- Options — Additional settings including sorting (by field name and order) and the page number when pagination is used.
Output shape
a list of user role objects associated with the specified organization unit
If 'Return All' is true, all pages of results are concatenated and returned; otherwise, only the selected page limited by 'Limit' is returned. The results support optional sorting via 'Options'. Errors are returned for individual items if 'continueOnFail' is enabled.