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

# PFAccountManagementServerGetPlayerProfileAsync

> PlayFab ID を指定して任意の PlayFab プレイヤーのプロファイル (表示名、アバター URL、統計、リンクされたアカウント情報を含む) を取得するサーバー API。

プレイヤーのプロファイルを取得します

## 構文

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

### パラメーター

**`titleEntityHandle`**   PFEntityHandle

PFAuthenticationGetEntityWithSecretKeyAsync を使用して取得したタイトル Entity 用の PFEntityHandle。

**`request`**   [PFAccountManagementGetPlayerProfileRequest\*](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementgetplayerprofilerequest.md)

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

**`async`**   XAsyncBlock\*\
*Inout*

非同期操作用の XAsyncBlock。

### 戻り値

型: HRESULT

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

## 解説

この API は、Win32、Linux、macOS で使用できます。この API により、通常はカスタマー サポート目的で、PlayFab サービス内のユーザーに関する詳細情報にアクセスできます。返されるデータには、メール アドレスなどの個人を識別できる情報 (PII) が含まれる場合があるため、このデータの保存と管理には注意してください。この呼び出しは、タイトルにアクセスしたユーザーに関する関連情報を常に返すため、このデータをローカルに保存しないことをお勧めします。非同期タスクが完了したら、[PFAccountManagementServerGetPlayerProfileGetResultSize](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayerprofilegetresultsize.md) と [PFAccountManagementServerGetPlayerProfileGetResult](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayerprofilegetresult.md) を呼び出して結果を取得します。

## 要件

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

## 関連項目

[PFAccountManagement メンバー](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfaccountmanagement/pfaccountmanagement_members.md)


## Related topics

- [PFAccountManagementServerGetPlayerProfileGetResult](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayerprofilegetresult.md)
- [Services C API overview - PFAccountManagement.h](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfaccountmanagement/pfaccountmanagement_members.md)
- [PFAccountManagementServerGetPlayerProfileGetResultSize](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayerprofilegetresultsize.md)
- [PFAccountManagementClientGetPlayerProfileAsync](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientgetplayerprofileasync.md)
- [PFAccountManagementClientGetPlayerProfileGetResult](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientgetplayerprofilegetresult.md)
