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

# PFAccountManagementServerGetUserAccountInfoAsync

> 检索指定用户的相关详细信息

检索指定用户的相关详细信息

## 语法

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

### 参数

**`titleEntityHandle`**   PFEntityHandle

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

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

已填充的请求对象。

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

用于异步操作的 XAsyncBlock。

### 返回值

类型：HRESULT

此 API 操作的结果代码。

## 备注

此 API 可在 Win32、Linux 和 macOS 上使用。此 API 允许访问 PlayFab 服务中某用户的详细信息，通常用于客户支持目的。请注意，返回的数据可能是个人身份信息 (PII)，例如电子邮件地址，因此在存储和管理此数据时应格外小心。由于此调用将始终返回访问过该标题的用户的相关信息，因此建议不要将此数据存储在本地。另请参阅 ServerGetUserInventoryAsync。当异步任务完成时，请调用 [PFAccountManagementServerGetUserAccountInfoGetResultSize](/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetuseraccountinfogetresultsize) 和 [PFAccountManagementServerGetUserAccountInfoGetResult](/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetuseraccountinfogetresult) 获取结果。

## 要求

**头文件：** PFAccountManagement.h

## 另请参阅

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


## Related topics

- [PFAccountManagementServerGetUserAccountInfoGetResult](/zh-CN/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetuseraccountinfogetresult.md)
- [服务 C API 概览 - PFAccountManagement.h](/zh-CN/services/playfab/api-references/c/pfaccountmanagement/pfaccountmanagement_members.md)
- [PFAccountManagementServerGetUserAccountInfoGetResultSize](/zh-CN/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetuseraccountinfogetresultsize.md)
- [PFAccountManagementServerGetPlayerCombinedInfoAsync](/zh-CN/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayercombinedinfoasync.md)
- [PFAccountManagementServerGetPlayerCombinedInfoGetResult](/zh-CN/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayercombinedinfogetresult.md)
