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

# PFAccountManagementClientGetPlayFabIDsFromBattleNetAccountIdsAsync

> Client API that looks up PlayFab IDs for a set of Battle.net account identifiers, authenticated with an entity handle. Available on all platforms.

Retrieves the unique PlayFab identifiers for the given set of Battle.net account identifiers.

## Syntax

```cpp theme={null}
HRESULT PFAccountManagementClientGetPlayFabIDsFromBattleNetAccountIdsAsync(  
    PFEntityHandle entityHandle,  
    const PFAccountManagementGetPlayFabIDsFromBattleNetAccountIdsRequest* request,  
    XAsyncBlock* async  
)  
```

### Parameters

**`entityHandle`**   PFEntityHandle

PFEntityHandle to use for authentication.

**`request`**   [PFAccountManagementGetPlayFabIDsFromBattleNetAccountIdsRequest\*](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementgetplayfabidsfrombattlenetaccountidsrequest.md)

Populated request object.

**`async`**   XAsyncBlock\*\
*Inout*

XAsyncBlock for the async operation.

### Return value

Type: HRESULT

Result code for this API operation.

## Remarks

This API is available on all platforms. When the asynchronous task is complete, call [PFAccountManagementClientGetPlayFabIDsFromBattleNetAccountIdsGetResultSize](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientgetplayfabidsfrombattlenetaccountidsgetresultsize.md) and [PFAccountManagementClientGetPlayFabIDsFromBattleNetAccountIdsGetResult](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientgetplayfabidsfrombattlenetaccountidsgetresult.md) to get the result.

## Requirements

**Header:** PFAccountManagement.h

## See also

[PFAccountManagement members](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagement/pfaccountmanagement_members.md)


## Related topics

- [PFAccountManagementClientGetPlayFabIDsFromBattleNetAccountIdsGetResult](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientgetplayfabidsfrombattlenetaccountidsgetresult.md)
- [Services C API overview - PFAccountManagement.h](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagement/pfaccountmanagement_members.md)
- [PFAccountManagementClientGetPlayFabIDsFromBattleNetAccountIdsGetResultSize](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientgetplayfabidsfrombattlenetaccountidsgetresultsize.md)
- [PFAccountManagementServerGetPlayFabIDsFromBattleNetAccountIdsAsync](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayfabidsfrombattlenetaccountidsasync.md)
- [Get PlayFab IDs From Battle Net Account Ids](https://docs.xbox.com/services/playfab/api-references/rest/client/account-management/get-playfab-ids-from-battle-net-account-ids.md)
