---
title: "getCloudMysqlUserList"
slug: "cli-vmysql-getcloudmysqluserlist"
tags: ["Cloud DB for MySQL", "VPC"]
updated: 2026-04-23T08:57:05Z
published: 2026-04-23T08:58:56Z
canonical: "cli.ncloud-docs.com/cli-vmysql-getcloudmysqluserlist"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# getCloudMysqlUserList

<p class="platform-info type-vpc">VPC 환경에서 이용 가능합니다.</p>

## 개요<a name="개요"></a>

Cloud DB for MySQL 인스턴스의 DB User 리스트를 조회합니다.

## 요청<a name="요청"></a>

### 요청 파라미터<a name="요청파라미터"></a>

| 파라미터명 | 필수 여부 | 타입 | 제약 사항 | 설명 |
| ----- | ----- | ----- | ----- | ----- |
| regionCode | No | String | | - 리전 코드<br/>regionCode는 [getRegionList](/docs/cli-vserver-server-common-getregionlist) 액션을 통해서 획득 가능<br/>Default : getRegionList 조회 결과의 첫 번째 리전을 선택 |
| cloudMysqlInstanceNo | Yes | String | | - Cloud DB for MySQL 인스턴스 번호<br/>cloudMysqlInstanceNo는 [getCloudMysqlInstanceList](/docs/cli-vmysql-getcloudmysqlinstancelist) 액션을 통해서 획득 가능 |
| pageNo | Yes | Integer | Min: 0 | - 페이징된 결과의 페이지 번호<br/>결과 값을 pageNo, pageSize를 이용하여 페이징 처리 가능 |
| pageSize | Yes | Integer | Min: 1 | - 페이징 시 보여줄 각 페이지 사이즈<br/>결과 값을 pageNo, pageSize를 이용하여 페이징 처리 가능 |
| output | No | String | | - 응답 결과의 포맷 타입<br/>Options : xml \| json<br/>Default : json |

## 응답<a name="응답"></a>

### 응답 데이터 타입<a name="응답데이터타입"></a>
- CloudMysqlUserList 타입

| CloudMysqlUserList extends CommonResponse |
| ---------- |
| private Integer totalRows; |
| private List&lt;CloudMysqlUser&gt; cloudMysqlUserList = new ArrayList<>(); |

| CloudMysqlUser |
| ---------- |
| private String userName; |
| private String hostIp; |
| private String authority; |
| private Boolean isSystemTableAccess; |

## 예시<a name="예시"></a>

### 요청 예시<a name="요청예시"></a>

```
ncloud vmysql getCloudMysqlUserList --regionCode KR --cloudMysqlInstanceNo ****890 --pageNo 0 --pageSize 10
```

### 응답 예시<a name="응답예시"></a>

```xml
<getCloudMysqlUserListResponse>
    <requestId>a117cbf7-c16b-483a-92e2-69c85a7ef928</requestId>
    <returnCode>0</returnCode>
    <returnMessage>success</returnMessage>
    <totalRows>2</totalRows>
    <cloudMysqlUserList>
        <cloudMysqlUser>
            <userName>test_read</userName>
            <hostIp>%</hostIp>
            <authority>READ</authority>
            <isSystemTableAccess>true</isSystemTableAccess>
        </cloudMysqlUser>
        <cloudMysqlUser>
            <userName>test_ddl</userName>
            <hostIp>%</hostIp>
            <authority>DDL</authority>
            <isSystemTableAccess>true</isSystemTableAccess>
        </cloudMysqlUser>
    </cloudMysqlUserList>
</getCloudMysqlUserListResponse>
```
