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

# XblPrivilege

> XblPrivilege

# XblPrivilege

控制使用者的權限。

## 語法

```cpp theme={null}
enum class XblPrivilege  : uint32_t  
{  
    Unknown = 0,  
    AllowIngameVoiceCommunications = 205,  
    AllowVideoCommunications = 235,  
    AllowProfileViewing = 249,  
    AllowCommunications = 252,  
    AllowMultiplayer = 254,  
    AllowAddFriend = 255  
}  
```

## 常數

| 常數 | 描述 |
| - | - |
| Unknown | 無法辨識的權限 (不是下列任一值)。 |
| AllowIngameVoiceCommunications | 控制使用者檢視其他使用者設定檔 (個人簡介、座右銘等) 的能力。 |
| AllowVideoCommunications | 控制使用者透過視訊與其他使用者通訊的能力。 |
| AllowProfileViewing | 控制使用者檢視其他使用者設定檔 (個人簡介、座右銘等) 的能力。 |
| AllowCommunications | 控制使用者與其他使用者通訊的能力。 |
| AllowMultiplayer | 控制使用者與其他使用者加入派對的能力。 |
| AllowAddFriend | 控制使用者新增朋友的能力。 |

## 隸屬於

[XblPermissionDenyReasonDetails](/zh-TW/reference/live/xsapi-c/privacy_c/structs/xblpermissiondenyreasondetails)

## 需求

**標頭：** privacy\_c.h

## 另請參閱

[privacy\_c](/zh-TW/reference/live/xsapi-c/privacy_c/privacy_c_members)


## Related topics

- [XblPrivilege](/reference/live/xsapi-c/privacy_c/enums/xblprivilege.md)
- [XblPermissionDenyReasonDetails](/reference/live/xsapi-c/privacy_c/structs/xblpermissiondenyreasondetails.md)
