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

# PFAccountManagementServerGetPlayFabIDsFromBattleNetAccountIdsAsync

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

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

## Syntax

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

### Parameters

**`titleEntityHandle`**   PFEntityHandle

PFEntityHandle for a title Entity obtained using PFAuthenticationGetEntityWithSecretKeyAsync.

**`request`**   [PFAccountManagementGetPlayFabIDsFromBattleNetAccountIdsRequest\*](/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementgetplayfabidsfrombattlenetaccountidsrequest)

Populated request object.

**`async`**   XAsyncBlock\*<br />*Inout*

XAsyncBlock for the async operation.

### Return value

Type: HRESULT

Result code for this API operation.

## Remarks

This API is available on Windows. When the asynchronous task is complete, call [PFAccountManagementServerGetPlayFabIDsFromBattleNetAccountIdsGetResultSize](/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayfabidsfrombattlenetaccountidsgetresultsize) and [PFAccountManagementServerGetPlayFabIDsFromBattleNetAccountIdsGetResult](/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayfabidsfrombattlenetaccountidsgetresult) to get the result.

## Requirements

**Header:** PFAccountManagement.h

## See also

[PFAccountManagement members](/services/playfab/api-references/c/pfaccountmanagement/pfaccountmanagement_members)
