> ## 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 Users

Get a list of users.

<Note>
  External Documentation

  To learn more, visit the [Rapid7 InsightIDR documentation](https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#tag/Users/operation/searchUsers).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter        | Description                                                                                                                                                                                                                                                                                                                                    |
  | ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Page             | The number of the page to return results from (zero-based).                                                                                                                                                                                                                                                                                    |
  | Page Size        | The maximum number of results to return per page. Valid range is `1-100`                                                                                                                                                                                                                                                                       |
  | Return All Pages | Automatically fetch all resources, page by page.                                                                                                                                                                                                                                                                                               |
  | Search           | An array of searching criteria objects to search users with.<br /><br />**For Example:**<br /><pre><code>\[<br />  \{<br />  "field": "name",<br />  "operator": "EQUALS",<br />  "value": \{ }#Could be a value of any type.<br />  }<br />]</code></pre>**Note:** Valid searching fields are - `first_name`,`last_name`,`name` and `domain`. |
  | Sort             | An array of sorting criteria objects to search users with.<br /><br />**For Example:**<br /><pre><code>\[<br />  \{<br />    "field": "name",<br />    "order": "ASC"<br />  }<br />]</code></pre>**Note:** Valid sorting fields are - `first_name`,`last_name` and `name`.                                                                    |
</div>

## Example Output

```json theme={"dark"}
{
	"search": [
		{
			"field": "name",
			"operator": "EQUALS",
			"value": {}
		}
	],
	"sort": [
		{
			"field": "name",
			"order": "ASC"
		}
	]
}
```

## Workflow Library Example

[List Users with Rapid7 Insightidr and Send Results Via Email](https://library.blinkops.com/workflows/list-users-with-rapid7-insightidr-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/list-users-with-rapid7-insightidr-and-send-results-via-email/canvas" />
</div>
