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

# XblProfileGetUserProfilesResult

> XblProfileGetUserProfilesResult

# XblProfileGetUserProfilesResult

Gets the result for a completed XblProfileGetUserProfilesAsync operation.

## Syntax

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

### Parameters

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

The same AsyncBlock that was passed to XblProfileGetUserProfilesAsync.

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

The size of the caller allocated profiles array. Use [XblProfileGetUserProfilesResultCount](/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofilesresultcount) to get the count required.

*profiles*   \_Out\_writes\_(profilesCount)\
Type: [XblUserProfile\*](/reference/live/xsapi-c/profile_c/structs/xbluserprofile)

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

### Return value

Type: HRESULT

HRESULT return code for this API operation.

## Requirements

**Header:** profile\_c.h

**Library:** Microsoft.Xbox.Services.14x.GDK.C.lib

## See also

[profile\_c](/reference/live/xsapi-c/profile_c/profile_c_members)


## Related topics

- [XblUserProfile](/reference/live/xsapi-c/profile_c/structs/xbluserprofile.md)
- [XblProfileGetUserProfilesAsync](/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofilesasync.md)
- [XblProfileGetUserProfilesResultCount](/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofilesresultcount.md)
- [XblProfileGetUserProfileResult](/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofileresult.md)
- [XblProfileGetUserProfileAsync](/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofileasync.md)
