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

# PFAccountManagementServerGetPlayFabIDsFromPSNAccountIDsAsync

> 服务器 API，用于为一组 PlayStation Network 帐户 ID 查找 PlayFab ID，使游戏服务器能够将 PSN 标识符解析为 PlayFab 帐户。

检索给定 PlayStation :tm: Network 标识符集所对应的唯一 PlayFab 标识符。

## 语法

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

### 参数

**`titleEntityHandle`**   PFEntityHandle

使用 PFAuthenticationGetEntityWithSecretKeyAsync 获取的标题实体的 PFEntityHandle。

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

已填充的请求对象。

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

用于异步操作的 XAsyncBlock。

### 返回值

类型：HRESULT

此 API 操作的结果代码。

## 备注

此 API 可在 Win32、Linux 和 macOS 上使用。当异步任务完成时，请调用 [PFAccountManagementServerGetPlayFabIDsFromPSNAccountIDsGetResultSize](/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayfabidsfrompsnaccountidsgetresultsize) 和 [PFAccountManagementServerGetPlayFabIDsFromPSNAccountIDsGetResult](/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayfabidsfrompsnaccountidsgetresult) 获取结果。

## 要求

**头文件：** PFAccountManagement.h

## 另请参阅

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


## Related topics

- [PFAccountManagementServerGetPlayFabIDsFromPSNAccountIDsGetResult](/zh-CN/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayfabidsfrompsnaccountidsgetresult.md)
- [服务 C API 概览 - PFAccountManagement.h](/zh-CN/services/playfab/api-references/c/pfaccountmanagement/pfaccountmanagement_members.md)
- [PFAccountManagementServerGetServerCustomIDsFromPlayFabIDsAsync](/zh-CN/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetservercustomidsfromplayfabidsasync.md)
- [PFAccountManagementServerGetPlayFabIDsFromSteamIDsAsync](/zh-CN/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayfabidsfromsteamidsasync.md)
- [PFAccountManagementServerGetPlayFabIDsFromTwitchIDsAsync](/zh-CN/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayfabidsfromtwitchidsasync.md)
