--- title: "getCloudPostgresqlUserList" slug: "cli-vpostgresql-getcloudpostgresqluserlist" updated: 2026-09-17T10:11:08Z published: 2026-09-17T10:11:08Z 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/ja/cli-vpostgresql-getcloudpostgresqlinstancelist)を参照 | ### 共通オプション `vpostgresql`コマンドで共通して使用するオプションについては、[Cloud DB for PostgreSQL (VPC)のオプション](/docs/ja/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" } } ```