Edit

Share via


ProfileService.GetUserProfilesForSocialGroupAsync(String) Method

Definition

Gets user profiles for users in a specified social group.

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

Parameters

socialGroup
String

The name of the social group of users to search. See Microsoft::Xbox::Services::Social::SocialGroupConstants for the latest options.

Returns

Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<XboxUserProfile>>

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

Implements

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

Remarks

Calls V2 GET /users/{userId}/profile/settings/people/{socialGroup}

Applies to