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

# PFUserAccountInfo

> PFUserAccountInfo 数据模型。

PFUserAccountInfo 数据模型。

## 语法

```cpp theme={null}
typedef struct PFUserAccountInfo {  
    PFUserAndroidDeviceInfo const* androidDeviceInfo;  
    PFUserAppleIdInfo const* appleAccountInfo;  
    time_t created;  
    PFUserCustomIdInfo const* customIdInfo;  
    PFUserFacebookInfo const* facebookInfo;  
    PFUserFacebookInstantGamesIdInfo const* facebookInstantGamesIdInfo;  
    PFUserGameCenterInfo const* gameCenterInfo;  
    PFUserGoogleInfo const* googleInfo;  
    PFUserGooglePlayGamesInfo const* googlePlayGamesInfo;  
    PFUserIosDeviceInfo const* iosDeviceInfo;  
    PFUserKongregateInfo const* kongregateInfo;  
    PFUserNintendoSwitchAccountIdInfo const* nintendoSwitchAccountInfo;  
    PFUserNintendoSwitchDeviceIdInfo const* nintendoSwitchDeviceIdInfo;  
    PFUserOpenIdInfo const* openIdInfo;  
    uint32_t openIdInfoCount;  
    const char* playFabId;  
    PFUserPrivateAccountInfo const* privateInfo;  
    PFUserPsnInfo const* psnInfo;  
    PFUserServerCustomIdInfo const* serverCustomIdInfo;  
    PFUserSteamInfo const* steamInfo;  
    PFUserTitleInfo const* titleInfo;  
    PFUserTwitchInfo const* twitchInfo;  
    const char* username;  
    PFUserXboxInfo const* xboxInfo;  
} PFUserAccountInfo;  
```

### 成员

**`androidDeviceInfo`**   [PFUserAndroidDeviceInfo](/services/playfab/api-references/c/pftypes/structs/pfuserandroiddeviceinfo) const\*\
*may be nullptr*

（可选）用户 Android 设备信息（如果已链接 Android 设备）。

**`appleAccountInfo`**   [PFUserAppleIdInfo](/services/playfab/api-references/c/pftypes/structs/pfuserappleidinfo) const\*\
*may be nullptr*

（可选）"使用 Apple 登录"账号信息（如果已链接 Apple 账号）。

**`created`**   time\_t

指示用户账号创建时间的时间戳。

**`customIdInfo`**   [PFUserCustomIdInfo](/services/playfab/api-references/c/pftypes/structs/pfusercustomidinfo) const\*\
*may be nullptr*

（可选）自定义 ID 信息（如果已分配自定义 ID）。

**`facebookInfo`**   [PFUserFacebookInfo](/services/playfab/api-references/c/pftypes/structs/pfuserfacebookinfo) const\*\
*may be nullptr*

（可选）用户 Facebook 信息（如果已链接 Facebook 账号）。

**`facebookInstantGamesIdInfo`**   [PFUserFacebookInstantGamesIdInfo](/services/playfab/api-references/c/pftypes/structs/pfuserfacebookinstantgamesidinfo) const\*\
*may be nullptr*

（可选）Facebook Instant Games 账号信息（如果已链接 Facebook Instant Games 账号）。

**`gameCenterInfo`**   [PFUserGameCenterInfo](/services/playfab/api-references/c/pftypes/structs/pfusergamecenterinfo) const\*\
*may be nullptr*

（可选）用户 Gamecenter 信息（如果已链接 Gamecenter 账号）。

**`googleInfo`**   [PFUserGoogleInfo](/services/playfab/api-references/c/pftypes/structs/pfusergoogleinfo) const\*\
*may be nullptr*

（可选）用户 Google 账号信息（如果已链接 Google 账号）。

**`googlePlayGamesInfo`**   [PFUserGooglePlayGamesInfo](/services/playfab/api-references/c/pftypes/structs/pfusergoogleplaygamesinfo) const\*\
*may be nullptr*

（可选）用户 Google Play Games 账号信息（如果已链接 Google Play Games 账号）。

**`iosDeviceInfo`**   [PFUserIosDeviceInfo](/services/playfab/api-references/c/pftypes/structs/pfuseriosdeviceinfo) const\*\
*may be nullptr*

（可选）用户 iOS 设备信息（如果已链接 iOS 设备）。

**`kongregateInfo`**   [PFUserKongregateInfo](/services/playfab/api-references/c/pftypes/structs/pfuserkongregateinfo) const\*\
*may be nullptr*

（可选）用户 Kongregate 账号信息（如果已链接 Kongregate 账号）。

**`nintendoSwitchAccountInfo`**   [PFUserNintendoSwitchAccountIdInfo](/services/playfab/api-references/c/pftypes/structs/pfusernintendoswitchaccountidinfo) const\*\
*may be nullptr*

（可选）Nintendo Switch 账号信息（如果已链接 Nintendo Switch 账号）。

**`nintendoSwitchDeviceIdInfo`**   [PFUserNintendoSwitchDeviceIdInfo](/services/playfab/api-references/c/pftypes/structs/pfusernintendoswitchdeviceidinfo) const\*\
*may be nullptr*

（可选）Nintendo Switch 设备信息（如果已链接 Nintendo Switch 设备）。

**`openIdInfo`**   [PFUserOpenIdInfo](/services/playfab/api-references/c/pftypes/structs/pfuseropenidinfo) const\*\
*may be nullptr*

（可选）OpenID Connect 信息（如果已链接任何 OpenID Connect 账号）。

**`openIdInfoCount`**   uint32\_t

openIdInfo 的数量

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

（可选）用户账号的唯一标识符。

**`privateInfo`**   [PFUserPrivateAccountInfo](/services/playfab/api-references/c/pftypes/structs/pfuserprivateaccountinfo) const\*\
*may be nullptr*

（可选）被认为更为敏感的用户个人信息。

**`psnInfo`**   [PFUserPsnInfo](/services/playfab/api-references/c/pftypes/structs/pfuserpsninfo) const\*\
*may be nullptr*

（可选）用户 PlayStation :tm: Network 账号信息（如果已链接 PlayStation :tm: Network 账号）。

**`serverCustomIdInfo`**   [PFUserServerCustomIdInfo](/services/playfab/api-references/c/pftypes/structs/pfuserservercustomidinfo) const\*\
*may be nullptr*

（可选）服务器自定义 ID 信息（如果已分配服务器自定义 ID）。

**`steamInfo`**   [PFUserSteamInfo](/services/playfab/api-references/c/pftypes/structs/pfusersteaminfo) const\*\
*may be nullptr*

（可选）用户 Steam 信息（如果已链接 Steam 账号）。

**`titleInfo`**   [PFUserTitleInfo](/services/playfab/api-references/c/pftypes/structs/pfusertitleinfo) const\*\
*may be nullptr*

（可选）用户账号的游戏专用信息。

**`twitchInfo`**   [PFUserTwitchInfo](/services/playfab/api-references/c/pftypes/structs/pfusertwitchinfo) const\*\
*may be nullptr*

（可选）用户 Twitch 账号信息（如果已链接 Twitch 账号）。

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

（可选）PlayFab 服务中的用户账号名称。

**`xboxInfo`**   [PFUserXboxInfo](/services/playfab/api-references/c/pftypes/structs/pfuserxboxinfo) const\*\
*may be nullptr*

（可选）用户 XBox 账号信息（如果已链接 XBox 账号）。

## 要求

**头文件：** PFTypes.h

## 另请参阅

[PFTypes 成员](/services/playfab/api-references/c/pftypes/pftypes_members)


## Related topics

- [PFAccountManagementGetUserAccountInfoResult](/zh-CN/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementgetuseraccountinforesult.md)
- [PFAccountManagementGetAccountInfoResult](/zh-CN/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementgetaccountinforesult.md)
- [服务 C API 概览 - PFTypes.h](/zh-CN/services/playfab/api-references/c/pftypes/pftypes_members.md)
- [PFGetPlayerCombinedInfoResultPayload](/zh-CN/services/playfab/api-references/c/pftypes/structs/pfgetplayercombinedinforesultpayload.md)
- [PFUserPrivateAccountInfo](/zh-CN/services/playfab/api-references/c/pftypes/structs/pfuserprivateaccountinfo.md)
