MSDN Library
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

GameService.GetPrivilegesAsync method

Retrieves the privilege string for the current user.

Syntax


public static IAsyncOperation<string> GetPrivilegesAsync()

Parameters

This method has no parameters.

Return value

Type: IAsyncOperation<String>

When this method completes, it returns the privilege string.

Remarks

All members of the Windows.Phone.System.UserProfile.GameServices.Core namespace can only be used by the XBox Live SDK. These APIs cannot be called except by applications that have the ID_CAP_GAMERSERVICES capability.

Requirements (Windows 10 device family)

Device family

Mobile, introduced version 10.0.10240.0

API contract

Windows.Phone.PhoneContract, introduced version 1.0

Namespace

Windows.Phone.System.UserProfile.GameServices.Core
Windows::Phone::System::UserProfile::GameServices::Core [C++]

Metadata

Windows.Phone.PhoneContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.System.UserProfile.GameServices.Core
Windows::Phone::System::UserProfile::GameServices::Core [C++]

Metadata

Windows.WinMD

See also

GameService

 

 

Show:
© 2016 Microsoft