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

# PFAccountManagementGetPlayerProfileRequest

> PFAccountManagementGetPlayerProfileRequest 数据模型。此 API 允许访问 PlayFab 服务中有关用户的详细信息，通常用于以下目的。

PFAccountManagementGetPlayerProfileRequest 数据模型。此 API 允许访问 PlayFab 服务中有关用户的详细信息，通常用于客户支持。请注意，返回的数据可能是个人身份信息 (PII)，例如电子邮件地址，因此在存储和管理此数据时应格外小心。由于此调用始终会返回已访问过标题的用户的相关信息，因此建议不要在本地存储此数据。

## 语法

```cpp theme={null}
typedef struct PFAccountManagementGetPlayerProfileRequest {  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    const char* playFabId;  
    PFPlayerProfileViewConstraints const* profileConstraints;  
} PFAccountManagementGetPlayerProfileRequest;  
```

### 成员

**`customTags`**   [PFStringDictionaryEntry](/services/playfab/api-references/c/pftypes/structs/pfstringdictionaryentry) const\*<br />*may be nullptr*

（可选）与请求关联的可选自定义标记（例如构建版本号、外部跟踪标识符等）。

**`customTagsCount`**   uint32\_t

customTags 的计数

**`playFabId`**   const char\*<br />*is null-terminated*

将对其执行操作的用户的 PlayFab 分配的唯一 ID。

**`profileConstraints`**   [PFPlayerProfileViewConstraints](/services/playfab/api-references/c/pftypes/structs/pfplayerprofileviewconstraints) const\*<br />*may be nullptr*

（可选）如果非 null，此项确定要返回哪些生成的玩家个人资料属性。对于来自客户端的 API 调用，只能请求该标题允许的客户端个人资料属性。这些允许的属性在 Game Manager 的"设置"部分的"Client Profile Options"选项卡中进行配置。

## 要求

**头文件：** PFAccountManagementTypes.h

## 另请参阅

[PFAccountManagementTypes 成员](/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members)


## Related topics

- [PFAccountManagementClientGetPlayerProfileAsync](/zh-CN/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientgetplayerprofileasync.md)
- [PFAccountManagementServerGetPlayerProfileAsync](/zh-CN/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayerprofileasync.md)
- [服务 C API 概览 - PFAccountManagementTypes.h](/zh-CN/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members.md)
- [PFAccountManagementClientGetPlayerProfileGetResult](/zh-CN/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientgetplayerprofilegetresult.md)
- [PFAccountManagementClientGetPlayerProfileGetResultSize](/zh-CN/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientgetplayerprofilegetresultsize.md)
