# QueryUserInfoResponse

- [JSON representation](https://docs.cloud.google.com/identity-platform/docs/reference/rest/v1/QueryUserInfoResponse#SCHEMA_REPRESENTATION)

Response message for accounts.query.

| JSON representation |
|---|
| ``` { "recordsCount": string, "userInfo": [ { object (`https://docs.cloud.google.com/identity-platform/docs/reference/rest/v1/UserInfo`) } ] } ``` |

| Fields ||
|---|---|
| `recordsCount` | `string (https://developers.google.com/discovery/v1/type-format format)` If `returnUserInfo` in the request is true, this is the number of returned accounts in this message. Otherwise, this is the total number of accounts matching the query. |
| `userInfo[]` | ``object (`https://docs.cloud.google.com/identity-platform/docs/reference/rest/v1/UserInfo`)`` If `returnUserInfo` in the request is true, this is the accounts matching the query. |