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

# PFAccountManagementClientGetPlayFabIDsFromTwitchIDsAsync

> 用戶端 API，可查詢一組 Twitch 使用者 ID 的 PlayFab ID，讓遊戲將 Twitch 帳戶識別碼對應至 PlayFab 玩家帳戶。

擷取指定 Twitch 識別碼集合的唯一 PlayFab 識別碼。Twitch 識別碼是使用者帳戶的 ID，可從 Twitch API 方法以 '\_id' 取得 (例如：[https://github.com/justintv/Twitch-API/blob/master/v3\_resources/users.md#get-usersuser](https://github.com/justintv/Twitch-API/blob/master/v3_resources/users.md#get-usersuser))。

## 語法

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

### 參數

**`entityHandle`**   PFEntityHandle

用於驗證的 PFEntityHandle。

**`request`**   [PFAccountManagementGetPlayFabIDsFromTwitchIDsRequest\*](/zh-TW/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementgetplayfabidsfromtwitchidsrequest)

已填入的要求物件。

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

用於非同步作業的 XAsyncBlock。

### 傳回值

類型：HRESULT

此 API 作業的結果代碼。

## 備註

此 API 可在 Win32、Linux 和 macOS 上使用。非同步工作完成時，請呼叫 [PFAccountManagementClientGetPlayFabIDsFromTwitchIDsGetResultSize](/zh-TW/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientgetplayfabidsfromtwitchidsgetresultsize) 和 [PFAccountManagementClientGetPlayFabIDsFromTwitchIDsGetResult](/zh-TW/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientgetplayfabidsfromtwitchidsgetresult) 以取得結果。

## 需求

**標頭：** PFAccountManagement.h

## 另請參閱

[PFAccountManagement 成員](/zh-TW/services/playfab/api-references/c/pfaccountmanagement/pfaccountmanagement_members)


## Related topics

- [PFAccountManagementClientGetPlayFabIDsFromTwitchIDsGetResult](/zh-TW/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientgetplayfabidsfromtwitchidsgetresult.md)
- [服務 C API 概觀 - PFAccountManagement.h](/zh-TW/services/playfab/api-references/c/pfaccountmanagement/pfaccountmanagement_members.md)
- [PFAccountManagementClientGetPlayFabIDsFromTwitchIDsGetResultSize](/zh-TW/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientgetplayfabidsfromtwitchidsgetresultsize.md)
- [PFAccountManagementServerGetPlayFabIDsFromTwitchIDsAsync](/zh-TW/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayfabidsfromtwitchidsasync.md)
- [PFAccountManagementServerGetPlayFabIDsFromTwitchIDsGetResult](/zh-TW/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayfabidsfromtwitchidsgetresult.md)
