> ## 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-TW/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 Token (JWT)。

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

將對其執行作業之使用者的唯一 PlayFab 指派識別碼。

## 需求

**標頭：** PFAccountManagementTypes.h

## 另請參閱

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


## Related topics

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