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

# PFAccountManagementServerGetPlayFabIDsFromPSNOnlineIDsAsync

> Server API for Windows that looks up PlayFab IDs for a set of PlayStation Network online IDs, authenticated with a title entity handle.

Retrieves the unique PlayFab identifiers for the given set of PlayStation :tm: Network identifiers.

## Syntax

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

### Parameters

**`titleEntityHandle`**   PFEntityHandle

PFEntityHandle for a title Entity obtained using PFAuthenticationGetEntityWithSecretKeyAsync.

**`request`**   [PFAccountManagementGetPlayFabIDsFromPSNOnlineIDsRequest\*](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementgetplayfabidsfrompsnonlineidsrequest.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 [PFAccountManagementServerGetPlayFabIDsFromPSNOnlineIDsGetResultSize](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayfabidsfrompsnonlineidsgetresultsize.md) and [PFAccountManagementServerGetPlayFabIDsFromPSNOnlineIDsGetResult](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayfabidsfrompsnonlineidsgetresult.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

- [PFAccountManagementServerGetPlayFabIDsFromPSNOnlineIDsGetResult](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayfabidsfrompsnonlineidsgetresult.md)
- [Services C API overview - PFAccountManagement.h](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagement/pfaccountmanagement_members.md)
- [PFAccountManagementServerGetPlayFabIDsFromPSNOnlineIDsGetResultSize](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayfabidsfrompsnonlineidsgetresultsize.md)
- [PFAccountManagementClientGetPlayFabIDsFromPSNOnlineIDsAsync](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientgetplayfabidsfrompsnonlineidsasync.md)
- [PFAccountManagementClientGetPlayFabIDsFromPSNOnlineIDsGetResult](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientgetplayfabidsfrompsnonlineidsgetresult.md)
