# `Twilio.Flex.V1.Insight.InsightsUserRolesService`
[🔗](https://github.com/jeffhuen/twilio_elixir/blob/main/lib/twilio/flex/v1/insight/insights_user_roles_service.ex#L2)

Service for InsightsUserRoles API operations.

Operations: `fetch`

# `fetch`

```elixir
@spec fetch(
  Twilio.Client.t(),
  keyword()
) ::
  {:ok, Twilio.Resources.Flex.V1.Insight.InsightsUserRoles.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

This is used by Flex UI and Quality Management to fetch the Flex Insights roles for the user

Operation: `FetchInsightsUserRoles` | Tags: FlexV1InsightsUserRoles

---

*Consult [api-reference.md](api-reference.md) for complete listing*
