> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List User Roles

Get a list of user roles for a specified organization unit.

> [!NOTE]
>
> External Documentation
>
> To learn more, visit the [N-able N-Central documentation](https://developer.n-able.com/n-central/reference/listuserroles).

## Parameters

| Parameter | Description |
| - | - |
| Organization Unit ID | The ID of the organization unit. Can be obtained by using the `List Organization Units` action. |
| Page Number | The page number to retrieve, counting from `1`. |
| Page Size | The maximum number of items to retrieve per page. Set to `-1` to retrieve all items. |
| Return All Pages | Automatically fetch all resources, page by page. |
| Select | A filter expression to filter results by in the format of `{property} {operator} {value}`. **For example**: - `name == 'My Resource'` - retrieve all resources with a name of `My Resource`. - `name != 'My Resource'` - retrieve all resources with a name that is not `My Resource`. - `id > 100` - retrieve all resources with an ID greater than `100`. |
| Sort By | A property name to sort the results by. |
| Sort Order | The order to sort the results by. |

## Example Output

```json theme={"dark"}
{
	"data": [
		{
			"roleId": 1001,
			"roleName": "Default Dashboard Role",
			"roleDescription": "Grants users read-only access to Dashboards, and the ability to view service details.",
			"_extra": {
				"cloneable": true,
				"readonly": true,
				"usernames": [
					"User 1 One",
					"User Server Room",
					"User 2 Two"
				],
				"permissions": [
					"DASHBOARDS_VIEW",
					"SERVICE_VIEW"
				]
			}
		}
	],
	"pageNumber": 0,
	"pageSize": 0,
	"itemCount": 0,
	"totalItems": 0,
	"totalPages": 0,
	"_links": {
		"firstPage": "string",
		"previousPage": "string",
		"nextPage": "string",
		"lastPage": "string"
	},
	"_warning": "string"
}
```
