Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
Specifies the user privilege options.
Syntax
enum class XUserPrivilegeOptions : uint32_t
{
None = 0x00,
AllUsers = 0x01,
}
Constants
| Constant | Description |
|---|---|
| None | No options. |
| AllUsers | All users. |
Remarks
To check if a user has a specific privilege, call the XUserCheckPrivilege function.
To display a resolution user interface for required privileges, call XUserResolvePrivilegeWithUiAsync.
Both functions accept an XUserPrivilegeOptions enumeration as an argument.
Requirements
Header: XUser.h
Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles