# Get User Role

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

## Configuration

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

### Properties

| Name | Description | Default value | 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"
    }
}
```
