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

# PFAccountManagementClientLinkKongregateAsync

> Kongregate 識別子をユーザーの PlayFab アカウントにリンクします

Kongregate 識別子をユーザーの PlayFab アカウントにリンクします

## 構文

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

### パラメーター

**`entityHandle`**   PFEntityHandle

認証に使用する PFEntityHandle。

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

値が設定されたリクエスト オブジェクト。

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

非同期操作用の XAsyncBlock。

### 戻り値

型: HRESULT

この API 操作の結果コード。

## 解説

この API は Win32、Linux、macOS で利用できます。ClientLoginWithKongregateAsync、ClientUnlinkKongregateAsync も参照してください。操作の状態を取得するには XAsyncGetStatus を呼び出します。サービス呼び出しが失敗した場合、非同期結果は E\_PF\_FEATURE\_NOT\_CONFIGURED\_FOR\_TITLE、E\_PF\_INVALID\_KONGREGATE\_TOKEN、E\_PF\_LINKED\_ACCOUNT\_ALREADY\_CLAIMED、またはグローバル PlayFab サービス エラーのいずれかになります。エラー処理の詳細については、ドキュメント ページ「Handling PlayFab Errors」を参照してください。

## 要件

**ヘッダー:** PFAccountManagement.h

## 関連項目

[PFAccountManagement のメンバー](/services/playfab/api-references/c/pfaccountmanagement/pfaccountmanagement_members)


## Related topics

- [Services C API overview - PFAccountManagement.h](/ja-jp/services/playfab/api-references/c/pfaccountmanagement/pfaccountmanagement_members.md)
- [PFAccountManagementClientUnlinkKongregateAsync](/ja-jp/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientunlinkkongregateasync.md)
- [PFAccountManagementLinkKongregateAccountRequest](/ja-jp/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementlinkkongregateaccountrequest.md)
- [PFAccountManagementClientGetPlayFabIDsFromKongregateIDsAsync](/ja-jp/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientgetplayfabidsfromkongregateidsasync.md)
- [PFAccountManagementClientLinkPSNAccountAsync](/ja-jp/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientlinkpsnaccountasync.md)
