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

# PermissionCheckBatchResponse (JSON)

> PermissionCheckBatchResponse (JSON)

# PermissionCheckBatchResponse (JSON)

针对多个用户批量检查权限值列表的结果。

## PermissionCheckBatchResponse

PermissionCheckBatchResponse 对象具有以下规范。

| 成员 | 类型 | 说明 |
| - | - | - |
| Responses | [PermissionCheckBatchUserResponse (JSON)](https://devdocs.xbox.com/zh-CN/reference/live/rest/json/json-permissioncheckbatchuserresponse) 数组 | 必填。针对原始请求中所要求的每个权限的 [PermissionCheckBatchUserResponse (JSON)](https://devdocs.xbox.com/zh-CN/reference/live/rest/json/json-permissioncheckbatchuserresponse) 对象,顺序与该请求中的顺序相同。 |

## JSON 语法示例

```json theme={null}
{
    "responses":
    [
        {
            "user": {"xuid":"12345"},
            "permissions":
            [
                {
                    "isAllowed":true
                },
                {
                    "isAllowed":true
                }
            ]
        },
        {
            "user": {"xuid":"54321"},
            "permissions":
            [
                {
                    "isAllowed":false,
                    "reasons":
                    [
                        {"reason":"NotAllowed"}
                    ]
                },
                {
                    "isAllowed":false,
                    "reasons":
                    [
                        {"reason":"PrivilegeRestrictsTarget", "restrictedSetting":"AllowProfileViewing"}
                    ]
                }
            ]
        }
    ]
}
    
```

## 另请参阅

##### 父主题

[JavaScript 对象表示法 (JSON) 对象参考](https://devdocs.xbox.com/zh-CN/reference/live/rest/json/atoc-xboxlivews-reference-json)


## Related topics

- [XblPrivacyBatchCheckPermissionResult](https://devdocs.xbox.com/ko/reference/live/xsapi-c/privacy_c/functions/xblprivacybatchcheckpermissionresult.md)
- [XblPrivacyBatchCheckPermissionAsync](https://devdocs.xbox.com/zh-CN/reference/live/xsapi-c/privacy_c/functions/xblprivacybatchcheckpermissionasync.md)
