TitleCallableUI.CheckGamingPrivilegeSilentlyForUser Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks if the current user has a specific privilege
public static bool CheckGamingPrivilegeSilentlyForUser (Microsoft.Xbox.Services.System.GamingPrivilege privilege, Windows.System.User user);
static member CheckGamingPrivilegeSilentlyForUser : Microsoft.Xbox.Services.System.GamingPrivilege * Windows.System.User -> bool
Parameters
- privilege
- GamingPrivilege
The privilege to check.
- user
- Windows.System.User
System user that identifies the user to check the privilege on behalf of
Returns
A boolean which is true if the current user has the privilege.