> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XblProfileGetUserProfilesForSocialGroupResult

> XblProfileGetUserProfilesForSocialGroupResult

Gets the result for a completed XblProfileGetUserProfilesForSocialGroupAsync operation.

## Syntax

```cpp theme={null}
HRESULT XblProfileGetUserProfilesForSocialGroupResult(  
         XAsyncBlock* async,  
         size_t profilesCount,  
         XblUserProfile* profiles  
)  
```

### Parameters

*async*   \_In\_\
Type: XAsyncBlock\*

The same AsyncBlock that was passed to XblProfileGetUserProfilesForSocialGroupAsync.

*profilesCount*   \_In\_\
Type: size\_t

The size of the caller allocated profiles array. Use [XblProfileGetUserProfilesForSocialGroupResultCount](https://docs.xbox.com/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofilesforsocialgroupresultcount.md) to get the count required.

*profiles*   \_Out\_writes\_(profilesCount)\
Type: [XblUserProfile\*](https://docs.xbox.com/reference/live/xsapi-c/profile_c/structs/xbluserprofile.md)

A caller allocated array that passes back the social group user profile results.

### Return value

Type: HRESULT

HRESULT return code for this API operation.

## Requirements

**Header:** profile\_c.h

**Library:** Microsoft.Xbox.Services.142.C.lib or Microsoft.Xbox.Services.143.C.lib

## See also

[profile\_c](https://docs.xbox.com/reference/live/xsapi-c/profile_c/profile_c_members.md)


## Related topics

- [XblProfileGetUserProfilesForSocialGroupAsync](https://docs.xbox.com/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofilesforsocialgroupasync.md)
- [XblUserProfile](https://docs.xbox.com/reference/live/xsapi-c/profile_c/structs/xbluserprofile.md)
- [profile_c (contents)](https://docs.xbox.com/reference/live/xsapi-c/profile_c/profile_c_members.md)
- [XblProfileGetUserProfilesForSocialGroupResultCount](https://docs.xbox.com/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofilesforsocialgroupresultcount.md)
- [XblProfileGetUserProfilesResult](https://docs.xbox.com/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofilesresult.md)
