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

# XUserPrivilege

> XUserPrivilege

# XUserPrivilege

Specifies the privileges of a user.

## Syntax

```cpp theme={null}
enum class XUserPrivilege  : uint32_t  
{  
    CrossPlay = 185,  
    Clubs = 188,  
    Sessions = 189,  
    Broadcast = 190,  
    ManageProfilePrivacy = 196,  
    GameDvr = 198,  
    MultiplayerParties = 203,  
    CloudManageSession = 207,  
    CloudJoinSession = 208,  
    CloudSavedGames = 209,  
    SocialNetworkSharing = 220,  
    UserGeneratedContent = 247,  
    Communications = 252,  
    Multiplayer = 254,  
    AddFriends = 255,  
}  
```

## Constants

| Constant             | Value | Description                                           |
| -------------------- | ----- | ----------------------------------------------------- |
| CrossPlay            | 185   | The user can play with people outside of XBOX.        |
| Clubs                | 188   | Create, join, and participate in clubs.               |
| Sessions             | 189   | Create and join non-interactive multiplayer sessions. |
| Broadcast            | 190   | Broadcast live gameplay.                              |
| ManageProfilePrivacy | 196   | Change settings to show real name.                    |
| GameDvr              | 198   | Upload GameDVR.                                       |
| MultiplayerParties   | 203   | Join parties.                                         |
| CloudManageSession   | 207   | Allocate cloud compute resources for their session.   |
| CloudJoinSession     | 208   | Join cloud compute sessions.                          |
| CloudSavedGames      | 209   | Save games on the cloud.                              |
| SocialNetworkSharing | 220   | Share progress to social networks.                    |
| UserGeneratedContent | 247   | Access user generated content in game.                |
| Communications       | 252   | Use real time voice and text communication.           |
| Multiplayer          | 254   | Join multiplayer sessions.                            |
| AddFriends           | 255   | Add friends.                                          |

## Remarks

To see if a user has a specific privilege, call the [XUserCheckPrivilege](/reference/system/xuser/functions/xusercheckprivilege) function.
To display a user interface that allows users to resolve privilege issues, call the [XUserResolvePrivilegeWithUiAsync](/reference/system/xuser/functions/xuserresolveprivilegewithuiasync) function.  Both functions use an XUserPrivilege enumeration as an argument.

## Requirements

**Header:** XUser.h

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

## See also

[XUser](/reference/system/xuser/xuser_members)

[XUserCheckPrivilege](/reference/system/xuser/functions/xusercheckprivilege)

[XUserResolvePrivilegeWithUiAsync](/reference/system/xuser/functions/xuserresolveprivilegewithuiasync)


## Related topics

- [XUserPrivilegeDenyReason](/reference/system/xuser/enums/xuserprivilegedenyreason.md)
- [Client-side use of XBOX services user privileges](/services/xbox-services/fundamentals/identity/privileges/concepts/live-user-privileges-client.md)
- [XUserCheckPrivilege](/reference/system/xuser/functions/xusercheckprivilege.md)
- [XUserResolvePrivilegeWithUiAsync](/reference/system/xuser/functions/xuserresolveprivilegewithuiasync.md)
- [XUser](/reference/system/xuser/xuser_members.md)
