Edit

Share via


ProfileService.GetUserProfileAsync(String) Method

Definition

Gets a user profile for a specific Xbox user.

public Windows.Foundation.IAsyncOperation<Microsoft.Xbox.Services.Social.XboxUserProfile> GetUserProfileAsync (string xboxUserId);
abstract member GetUserProfileAsync : string -> Windows.Foundation.IAsyncOperation<Microsoft.Xbox.Services.Social.XboxUserProfile>
override this.GetUserProfileAsync : string -> Windows.Foundation.IAsyncOperation<Microsoft.Xbox.Services.Social.XboxUserProfile>
Public Function GetUserProfileAsync (xboxUserId As String) As IAsyncOperation(Of XboxUserProfile)

Parameters

xboxUserId
String

The Xbox User ID of the user to get the profile for.

Returns

Windows.Foundation.IAsyncOperation<XboxUserProfile>

Returns an IAsyncOperation<TResult> object that represents the state of the asynchronous operation. The result of the asynchronous operation is an XboxUserProfile object.

Implements

Microsoft.Xbox.Services.Social.__IProfileServicePublicNonVirtuals.GetUserProfileAsync(System.String)

Remarks

Calls V2 GET /users/batch/profile/settings

Applies to