> ## Documentation Index
> Fetch the complete documentation index at: https://docs.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](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/structs/pfstringdictionaryentry.md) const\*\
*may be nullptr*

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

**`customTagsCount`**   uint32\_t

customTags 的数量

**`forceLink`**   bool const\*\
*may be nullptr*

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

**`issuerId`**   int32\_t const\*\
*may be nullptr*

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

**`playFabId`**   const char\*\
*is null-terminated*

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

**`PSNUserId`**   const char\*\
*is null-terminated*

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

**`sandboxId`**   const char\*\
*is null-terminated*

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

## 要求

**头文件：** PFAccountManagementTypes.h

## 另请参阅

[PFAccountManagementTypes 成员](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members.md)


## Related topics

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