---
title: "Returns userGroups."
method: GET
path: "/cc/v1/auth/access/usergroups/{userName}"
tags: ["Groups"]
---

# Returns userGroups.

`GET /cc/v1/auth/access/usergroups/{userName}`

Optional extended description in Markdown.

## Path parameters

- `userName` string, required

## Response `200`

Detailed userGroup and userGroup information.

- UserGroup[]
  - `id` integer — the id of UserGroup
  - `userId` integer — the UserGroup
  - `RoleId` integer — the roleId of UserGroup
  - `GroupId` integer — the GroupId of UserGroup
  - `remarks` string — the remarks UserGroup
  - `enableFlag` integer — Whether the data is valid

## Other responses

- `401` — Unauthorized
- `404` — Model with the given ID not found.

---

[API](https://skmtc.net/webankfintech/apis/mlss-cc-api.md) · [All operations](https://skmtc.net/webankfintech/apis/mlss-cc-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/webankfintech/mlss-cc-api/versions/615a549c16f7/schema)
