GameService.GetPrivilegesAsync Method

Definition

Retrieves the privilege string for the current user.

public:
 static IAsyncOperation<Platform::String ^> ^ GetPrivilegesAsync();
 static IAsyncOperation<winrt::hstring> GetPrivilegesAsync();
public static IAsyncOperation<string> GetPrivilegesAsync();
function getPrivilegesAsync()
Public Shared Function GetPrivilegesAsync () As IAsyncOperation(Of String)

Returns

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<winrt::hstring>

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.

Applies to