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

# PFAccountManagementLinkPSNIdRequest

> PFAccountManagementLinkPSNIdRequest 数据模型。

PFAccountManagementLinkPSNIdRequest 数据模型。

## 语法

```cpp theme={null}
typedef struct PFAccountManagementLinkPSNIdRequest {  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    bool const* forceLink;  
    int32_t const* issuerId;  
    const char* playFabId;  
    const char* PSNUserId;  
    const char* sandboxId;  
} PFAccountManagementLinkPSNIdRequest;  
```

### 成员

**`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*

（可选）如果另一个用户已关联到该账户，则取消关联另一用户并重新关联。

**`issuerId`**   int32\_t const\*<br />*may be nullptr*

（可选）PlayStation :tm: Network 颁发者环境的 ID。如果为 null，则默认为生产环境。

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

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

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

PlayStation :tm: Network 用户的 ID。也称为 PSN 账户 ID。

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

（可选）可选的沙盒 ID。如果提供，则在该 PlayStation :tm: Network 沙盒上解析并关联玩家。

## 要求

**头文件：** PFAccountManagementTypes.h

## 另请参阅

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


## Related topics

- [PFAccountManagementServerLinkPSNIdAsync](/zh-CN/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverlinkpsnidasync.md)
- [PFAccountManagementLinkSteamIdRequest](/zh-CN/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementlinksteamidrequest.md)
- [PFAccountManagementLinkServerCustomIdRequest](/zh-CN/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementlinkservercustomidrequest.md)
- [PFAccountManagementLinkOpenIdConnectRequest](/zh-CN/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementlinkopenidconnectrequest.md)
- [PFAccountManagementLinkFacebookInstantGamesIdRequest](/zh-CN/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementlinkfacebookinstantgamesidrequest.md)
