--- title: "getCloudPostgresqlUserList" slug: "cli-vpostgresql-getcloudpostgresqluserlist" tags: ["Cloud DB for PostgreSQL", "VPC"] updated: 2026-09-17T09:16:06Z published: 2026-09-17T09:16:06Z canonical: "cli.ncloud-docs.com/cli-vpostgresql-getcloudpostgresqluserlist" --- > ## 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. # getCloudPostgresqlUserList VPC 환경에서 이용 가능합니다. Cloud DB for PostgreSQL 인스턴스의 DB User 목록을 조회합니다. ## 구문 `getCloudPostgresqlUserList` 구문은 다음과 같습니다. ``` ./ncloud vpostgresql getCloudPostgresqlUserList \ --cloudPostgresqlInstanceNo \ [--regionCode ] \ [--output ] ``` ## 옵션 `getCloudPostgresqlUserList` 실행 시 지정할 수 있는 옵션을 설명합니다. ### 필수 옵션 `getCloudPostgresqlUserList`의 필수 옵션입니다. | 옵션 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `--cloudPostgresqlInstanceNo` | String | Required | Cloud DB for PostgreSQL 인스턴스 번호 - [getCloudPostgresqlInstanceList](/docs/cli-vpostgresql-getcloudpostgresqlinstancelist) 참조 | ### 공통 옵션 `vpostgresql` 명령에서 공통으로 사용하는 옵션에 대한 정보는 [Cloud DB for PostgreSQL (VPC) 옵션](/docs/cli-vpostgresql#%EC%98%B5%EC%85%98)을 참조해 주십시오. ## 예시 DB User 목록 조회 요청이 성공하면 각 사용자의 계정 정보가 반환됩니다. ### 명령 명령 예시는 다음과 같습니다. ``` ./ncloud vpostgresql getCloudPostgresqlUserList \ --cloudPostgresqlInstanceNo 34567890 \ --regionCode KR \ --output json ``` ### 출력 출력 예시는 다음과 같습니다. ``` { "getCloudPostgresqlUserListResponse": { "totalRows": 2, "cloudPostgresqlUserList": [ { "userName": "testreader", "clientCidr": "0.0.0.0/0", "isReplicationRole": false }, { "userName": "testuser", "clientCidr": "0.0.0.0/0", "isReplicationRole": false } ], "requestId": "b2c3d4e5-f6a7-8901-bcde-f23456789012", "returnCode": "0", "returnMessage": "success" } } ```