> ## 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.

# XblProfileGetUserProfilesAsync

> XblProfileGetUserProfilesAsync

# XblProfileGetUserProfilesAsync

Gets one or more user profiles for a collection of specified XBOX users.

## Syntax

```cpp theme={null}
HRESULT XblProfileGetUserProfilesAsync(  
         XblContextHandle xboxLiveContext,  
         uint64_t* xboxUserIds,  
         size_t xboxUserIdsCount,  
         XAsyncBlock* async  
)  
```

### Parameters

*xboxLiveContext*   \_In\_\
Type: [XblContextHandle](/reference/live/xsapi-c/types_c/handles/xblcontexthandle)

An xbox live context handle created with XblContextCreateHandle.

*xboxUserIds*   \_In\_\
Type: uint64\_t\*

C-style array of XBOX User IDs of the users to get profiles for.

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

The number of XBOX User IDs in the array.

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

Caller allocated AsyncBlock.

### Return value

Type: HRESULT

HRESULT return code for this API operation.

## Remarks

To get the result, first call [XblProfileGetUserProfilesResultCount](/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofilesresultcount) to get the count of returned profiles and then call [XblProfileGetUserProfilesResult](/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofilesresult) inside the AsyncBlock callback or after the AsyncBlock is complete.

## REST Call

Calls V2 GET /users/batch/profile/settings

## 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

- [XblProfileGetUserProfilesResult](/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofilesresult.md)
- [XblProfileGetUserProfilesResultCount](/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofilesresultcount.md)
- [XblProfileGetUserProfileAsync](/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofileasync.md)
- [XblProfileGetUserProfileResult](/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofileresult.md)
- [XblProfileGetUserProfilesForSocialGroupAsync](/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofilesforsocialgroupasync.md)
