UserDisplayInfo.Privileges Property

Gets a list of the user’s privileges.

Syntax

public:
property IVectorView<uint32>^ Privileges {
         IVectorView<uint32>^ get ();
}  

Property value

Type: IVectorView<uint32> 

  Returns an array of the integer privilege identifiers for privileges the user has been granted. A partial list of privileges is here. For the most complete, current list, consult the XR list on the Xbox Game Developer portal.

Remarks

Titles must use privileges properly in order to meet the Xbox Requirements.

Note The privileges returned by Privileges are a short term local cache and should only be used for quick UI decisions. Functionality checks should be performed using CheckPrivilegesAsync.

Note

This is a cross-OS call. For more information, see Cross-OS Calls.

Requirements

Namespace: Windows.Xbox.System

Metadata: windows.winmd

See also

Reference

UserDisplayInfo Class

UserDisplayInfo Members

Windows.Xbox.System Namespace