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

Retrieve a list of groups that a specific user belongs to.

<Note>
  External Documentation

  To learn more, visit the [Zscaler Authentication Service documentation](https://automate.zscaler.com/docs/api-reference-and-guides/api-reference/zid/users/users-ops-get-user-groups).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter        | Description                                                                               |
  | ---------------- | ----------------------------------------------------------------------------------------- |
  | Limit            | The maximum number of records to return per request. The maximum value is `1000`.         |
  | Offset           | The offset from which to start returning results.                                         |
  | Return All Pages | Automatically fetch all resources, page by page.                                          |
  | User ID          | The ID of the user whose groups are retrieved. Can be obtained using `List Users` action. |
</div>

## Example Output

```json theme={"dark"}
{
	"pageOffset": 0,
	"pageSize": 100,
	"totalRecord": 1,
	"records": [
		{
			"name": "Example Dynamic Group",
			"description": "Dynamic group of all users from example domains",
			"id": "abc123def456g",
			"source": "EXAMPLE_SOURCE",
			"adminEntitlementEnabled": false,
			"serviceEntitlementEnabled": true,
			"dynamicGroup": true
		}
	],
	"results_total": 1
}
```

## Workflow Library Example

[List User Groups with Zscaler Authentication Service and Send Results Via Email](https://library.blinkops.com/workflows/list-user-groups-with-zscaler-authentication-service-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-user-groups-with-zscaler-authentication-service-and-send-results-via-email/canvas" />
</div>
