---
title: "Get roles associated to a user"
method: GET
path: "/1.0/kb/security/users/{username}/roles"
tags: ["Security"]
---

# Get roles associated to a user

`GET /1.0/kb/security/users/{username}/roles`

## Path parameters

- `username` string, required

## Response `200`

successful operation

- UserRoles
  - `username` string, required
  - `password` string, required
  - `roles` string[], required

## Other responses

- `404` — The user does not exist or has been inactivated

---

[API](https://skmtc.net/killbill/apis/kill-bill.md) · [All operations](https://skmtc.net/killbill/apis/kill-bill/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/killbill/kill-bill/revisions/0fb95d23caf5/schema)
