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

# PermissionCheckBatchRequest (JSON)

> PermissionCheckBatchRequest (JSON)

# PermissionCheckBatchRequest (JSON)

PermissionCheckBatchRequest 对象的集合。

## PermissionCheckBatchRequest

PermissionCheckBatchRequest 对象具有以下规范。

| 成员 | 类型 | 说明 |
| - | - | - |
| Users | Users 数组 | 必填。要对其检查权限的目标数组。此数组中的每一项要么是 XBOX 用户 ID (XUID),要么是用于跨网络场景的匿名非网络用户(“anonymousUser”:“allUsers”)。 |
| Permissions | [PermissionId 枚举](https://devdocs.xbox.com/zh-CN/reference/live/rest/enums/privacy-enum-permissionid.md) 数组 | 必填。要对每个用户检查的权限。 |

## JSON 语法示例

```json theme={null}
{
    "users":
    [
        {"xuid":"12345"},
        {"xuid":"54321"}
    ],
    "permissions":
    [
        "ShareFriendList",
        "ShareGameHistory"
    ]
}
    
```

## 另请参阅

##### 父主题

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