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

Retrieve a list of groups a user is a member of.

* **Least privileged** Microsoft Graph permission to access the action via **application**: `Directory.Read.All`.
* **Higher privileged** Microsoft Graph permissions to access the action via **application**: `Directory.ReadWrite.All`.

> [!NOTE]
>
> External Documentation
>
> To learn more, visit the [Microsoft Entra ID documentation](https://learn.microsoft.com/en-us/graph/api/user-list-memberof?view=graph-rest-1.0\&tabs=http).

## Parameters

| Parameter | Description |
| - | - |
| Limit | Set the page size of the returned results. |
| Return All Pages | Automatically fetch all resources, page by page. |
| User ID | The ID of the user whose membership is to be retrieved. |

## Example Output

```json theme={"dark"}
{
	"value": [
		{
			"@odata.type": "#microsoft.graph.group",
			"displayName": "All Users",
			"mailEnabled": false,
			"securityEnabled": true
		}
	]
}
```
