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

# PermissionCheckResult (JSON)

> PermissionCheckResult (JSON)

# PermissionCheckResult (JSON)

单个用户针对单个目标用户的单个权限设置的检查结果。

## PermissionCheckResult

PermissionCheckResult 对象具有以下规范。

| 成员 | 类型 | 说明 |
| - | - | - |
| reason | string | 可选。**PermissionResultCode** 值,当 **IsAllowed** 为 false 时,指示为何拒绝该权限。 |
| restrictedSetting | string | 可选。如果 **reason** 成员中的 **PermissionResultCode** 值指示请求者的特权检查失败,则此项指示是哪个特权检查失败。 |

## JSON 语法示例

```json theme={null}
{
    "reason": "MissingPrivilege",
    "restrictedSetting": "VideoCommunications"
}
    
```

## 另请参阅

##### 父主题

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


## Related topics

- [XblPermissionCheckResult](https://devdocs.xbox.com/fr-CA/reference/live/xsapi-c/privacy_c/structs/xblpermissioncheckresult.md)
- [XblPrivacyCheckPermissionResult](https://devdocs.xbox.com/ko/reference/live/xsapi-c/privacy_c/functions/xblprivacycheckpermissionresult.md)
