AppSys N-Central icon

AppSys N-Central

Interact with the N-Central API

User → Get Roles

AI-generated

Summary

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.

Links

Discussion