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

# PFAccountManagementServerLinkBattleNetAccountRequest

> PFAccountManagementServerLinkBattleNetAccountRequest 数据模型。

PFAccountManagementServerLinkBattleNetAccountRequest 数据模型。

## 语法

```cpp theme={null}
typedef struct PFAccountManagementServerLinkBattleNetAccountRequest {  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    bool const* forceLink;  
    const char* identityToken;  
    const char* playFabId;  
} PFAccountManagementServerLinkBattleNetAccountRequest;  
```

### 成员

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

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

**`customTagsCount`**   uint32\_t

customTags 的数量

**`forceLink`**   bool const\*<br />*may be nullptr*

（可选）如果另一个用户已关联到特定的 Battle.net 账户，则取消关联另一用户并重新关联。

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

Battle.net 在登录后返回的 JSON Web 令牌 (JWT)。

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

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

## 要求

**头文件：** PFAccountManagementTypes.h

## 另请参阅

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


## Related topics

- [PFAccountManagementServerLinkBattleNetAccountAsync](/zh-CN/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverlinkbattlenetaccountasync.md)
- [Link Battle Net Account](/api-reference/account-management/link-battle-net-account.md)
- [PFAccountManagementClientLinkBattleNetAccountRequest](/zh-CN/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementclientlinkbattlenetaccountrequest.md)
- [PFAccountManagementClientLinkBattleNetAccountAsync](/zh-CN/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientlinkbattlenetaccountasync.md)
- [PFAccountManagementServerUnlinkBattleNetAccountRequest](/zh-CN/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementserverunlinkbattlenetaccountrequest.md)
