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

# PFAccountManagementClientGetPlayFabIDsFromPSNAccountIDsAsync

> 客户端 API，用于查询一组 PlayStation Network 账户 ID 对应的 PlayFab ID，使游戏能够将 PSN 标识符解析为 PlayFab 玩家账户。

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

## 语法

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

### 参数

**`entityHandle`**   PFEntityHandle

用于身份验证的 PFEntityHandle。

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

已填充的请求对象。

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

用于异步操作的 XAsyncBlock。

### 返回值

类型：HRESULT

此 API 操作的结果代码。

## 备注

此 API 适用于 Win32、Sony PlayStation®、Linux 和 macOS。 异步任务完成后，调用 [PFAccountManagementClientGetPlayFabIDsFromPSNAccountIDsGetResultSize](/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientgetplayfabidsfrompsnaccountidsgetresultsize) 和 [PFAccountManagementClientGetPlayFabIDsFromPSNAccountIDsGetResult](/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientgetplayfabidsfrompsnaccountidsgetresult) 以获取结果。

## 要求

**头文件：** PFAccountManagement.h

## 另请参阅

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


## Related topics

- [PFAccountManagementClientGetPlayFabIDsFromPSNAccountIDsGetResult](/zh-CN/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientgetplayfabidsfrompsnaccountidsgetresult.md)
- [服务 C API 概览 - PFAccountManagement.h](/zh-CN/services/playfab/api-references/c/pfaccountmanagement/pfaccountmanagement_members.md)
- [PFAccountManagementClientGetPlayFabIDsFromKongregateIDsAsync](/zh-CN/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientgetplayfabidsfromkongregateidsasync.md)
- [PFAccountManagementClientGetPlayFabIDsFromSteamIDsAsync](/zh-CN/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientgetplayfabidsfromsteamidsasync.md)
- [PFAccountManagementClientGetPlayFabIDsFromTwitchIDsAsync](/zh-CN/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientgetplayfabidsfromtwitchidsasync.md)
