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

Returns the list of users in Druva inSync with their details.

<Note>
  External Documentation

  To learn more, visit the [Druva documentation](https://developer.druva.com/reference/get_usermanagement-v1-users).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter  | Description                                                                                                                       |
  | ---------- | --------------------------------------------------------------------------------------------------------------------------------- |
  | Cache ID   | Specify the CloudCache Server ID to get the list of users associated with a CloudCache Server.                                    |
  | Email ID   | Specify the email address to list a user's details.                                                                               |
  | Profile ID | Specify the profile ID to filter and get the list of users associated with a profile.                                             |
  | Storage ID | Specify the storage ID to filter and get the list of users associated with a particular storage.                                  |
  | User IDs   | Specify unique user IDs, separated by commas, to get details of specific users. Can be obtained by using the `List Users` action. |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter                | Description                                                                                                                                             |
  | ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | IDap GUID                | Specify the AD or LDAP object GUID to get the list of users associated with it. Pass the parameter as a hex string.                                     |
  | Max Added On             | Specify the date and time to list users that are added to Druva inSync before it.                                                                       |
  | Min Added On             | Specify the date and time to list users that are added to Druva inSync after it.                                                                        |
  | Page Token               | The token to access the next page of results. Use the token value received in the previous response's parameter 'nextPageToken'.                        |
  | Privacy Settings Enabled | List users based on the status of their privacy settings. For example, if you select True, all the users with their privacy setting enabled are listed. |
  | Search Prefix Email ID   | Specify the email prefix by which you intend to search and list the users.                                                                              |
  | Search Prefix User Name  | Specify the prefix from the user name by which you intend to search and list the users.                                                                 |
  | Status                   | Specify the current status of user account to filter and list the users.                                                                                |
</div>

## Example Output

```json theme={"dark"}
{
	"totalSize": 1,
	"nextPageToken": "MTExMQ==",
	"users": [
		{
			"userID": 1,
			"userName": "Ernie Carter",
			"emailID": "ernie.carter@druva.com",
			"status": "active",
			"profileID": 1,
			"storageID": 1,
			"cacheID": 1,
			"quota": "10 GB",
			"quotaInBytes": 10737418240,
			"addedOn": "2019-10-25T00:00:00Z",
			"privacySettingsEnabled": true,
			"ldapGUID": "B1C47201C67910458867BA19982E353E",
			"additionalProperties": {
				"userIdentifierCustomAttribute": "Custom Attribute Label",
				"userIdentifierCustomAttributeValue": "Custom Attribute Value"
			}
		}
	]
}
```

## Workflow Library Example

[List Users with Druva and Send Results Via Email](https://library.blinkops.com/workflows/list-users-with-druva-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-druva-and-send-results-via-email/canvas" />
</div>
