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

# PFAccountManagementServerGetPlayFabIDsFromBattleNetAccountIdsAsync

> Server API for Windows that looks up PlayFab IDs for a set of Battle.net account identifiers, authenticated with a title entity handle.

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\*](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 Windows. When the asynchronous task is complete, call [PFAccountManagementServerGetPlayFabIDsFromBattleNetAccountIdsGetResultSize](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayfabidsfrombattlenetaccountidsgetresultsize.md) and [PFAccountManagementServerGetPlayFabIDsFromBattleNetAccountIdsGetResult](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayfabidsfrombattlenetaccountidsgetresult.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

- [PFAccountManagementServerGetPlayFabIDsFromBattleNetAccountIdsGetResult](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayfabidsfrombattlenetaccountidsgetresult.md)
- [Services C API overview - PFAccountManagement.h](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagement/pfaccountmanagement_members.md)
- [PFAccountManagementServerGetPlayFabIDsFromBattleNetAccountIdsGetResultSize](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayfabidsfrombattlenetaccountidsgetresultsize.md)
- [PFAccountManagementClientGetPlayFabIDsFromBattleNetAccountIdsAsync](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientgetplayfabidsfrombattlenetaccountidsasync.md)
- [PFAccountManagementClientGetPlayFabIDsFromBattleNetAccountIdsGetResult](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientgetplayfabidsfrombattlenetaccountidsgetresult.md)
