# Get User Role

Documentation owner: module `pipes`; documentation version: `next`.
Source: `content/modules/pipes/next/valves/azure/get-user-role.mdx` at commit `eaf7a020437971baeee95e87eaf963636040ac71`.

This page describes the Get User Role Pipes valve and its supported options.

## Configuration

:::note
**Valve name:** `GetAzureRole`
:::

### Properties

| Name | Description | Default | Mandatory | Expanded |
| --- | --- | --- | --- | --- |
| `role_attribute` | Role attribute. | `"role"` | No | No |
| `return_attributes` | What role attributes to include in response. | `"displayName,id"` | No | No |

### Example

```json
{
    "name": "GetAzureRole",
    "enabled": true,
    "config": {
        "role_attribute": "role",
        "return_attributes": "displayName,id"
    }
}
```
