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

# XUserPrivilegeOptions

> XUserPrivilegeOptions

# XUserPrivilegeOptions

ユーザー特権のオプションを指定します。

## 構文

```cpp theme={null}
enum class XUserPrivilegeOptions  : uint32_t  
{  
    None = 0x00,  
    AllUsers = 0x01,  
}  
```

## 定数

| 定数       | 説明        |
| -------- | --------- |
| None     | オプションなし。  |
| AllUsers | すべてのユーザー。 |

## 解説

ユーザーが特定の特権を持っているかどうかを確認するには、[XUserCheckPrivilege](/reference/system/xuser/functions/xusercheckprivilege) 関数を呼び出します。

必要な特権に対する解決用のユーザー インターフェイスを表示するには、[XUserResolvePrivilegeWithUiAsync](/reference/system/xuser/functions/xuserresolveprivilegewithuiasync) を呼び出します。

どちらの関数も XUserPrivilegeOptions 列挙型を引数として受け取ります。

## 要件

**ヘッダー:** XUser.h

**サポートされているプラットフォーム:** Windows、XBOX One 本体、XBOX Series 本体

## 関連項目

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

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

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


## Related topics

- [XUserResolvePrivilegeWithUiAsync](/ja-jp/reference/system/xuser/functions/xuserresolveprivilegewithuiasync.md)
- [XBOX services ユーザー特権のクライアント側での使用](/ja-jp/services/xbox-services/fundamentals/identity/privileges/concepts/live-user-privileges-client.md)
- [XUserCheckPrivilege](/ja-jp/reference/system/xuser/functions/xusercheckprivilege.md)
- [XUser](/ja-jp/reference/system/xuser/xuser_members.md)
- [PartyXblChatPermissionMaskReason](/ja-jp/services/playfab/multiplayer/networking/xblreference/enums/partyxblchatpermissionmaskreason.md)
