ProfileService.GetUserProfileAsync(String) 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.
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