> ## 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)

針對多位使用者的權限值清單進行批次權限檢查的結果。

<a id="ID4EN" />

## PermissionCheckBatchResponse

PermissionCheckBatchResponse 物件具有下列規格。

| 成員 | 類型 | 描述 |
| - | - | - |
| Responses | [PermissionCheckBatchUserResponse (JSON)](/zh-TW/reference/live/rest/json/json-permissioncheckbatchuserresponse) 陣列 | 必要。原始要求中所要求的每個權限各對應一個 [PermissionCheckBatchUserResponse (JSON)](/zh-TW/reference/live/rest/json/json-permissioncheckbatchuserresponse) 物件，順序與該要求中的順序相同。 |

<a id="ID4EQB" />

## 範例 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"}
                    ]
                }
            ]
        }
    ]
}
    
```

<a id="ID4EZB" />

## 另請參閱

<a id="ID4E2B" />

##### 上層

[JavaScript Object Notation (JSON) 物件參考](/zh-TW/reference/live/rest/json/atoc-xboxlivews-reference-json)


## Related topics

- [XblPrivacyBatchCheckPermissionAsync](/reference/live/xsapi-c/privacy_c/functions/xblprivacybatchcheckpermissionasync.md)
- [XblPrivacyBatchCheckPermissionResult](/reference/live/xsapi-c/privacy_c/functions/xblprivacybatchcheckpermissionresult.md)
