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

# 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](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/structs/pfuserandroiddeviceinfo.md) const\*\
*may be nullptr*

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

**`appleAccountInfo`**   [PFUserAppleIdInfo](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/structs/pfuserappleidinfo.md) const\*\
*may be nullptr*

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

**`created`**   time\_t

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

**`customIdInfo`**   [PFUserCustomIdInfo](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/structs/pfusercustomidinfo.md) const\*\
*may be nullptr*

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

**`facebookInfo`**   [PFUserFacebookInfo](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/structs/pfuserfacebookinfo.md) const\*\
*may be nullptr*

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

**`facebookInstantGamesIdInfo`**   [PFUserFacebookInstantGamesIdInfo](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/structs/pfuserfacebookinstantgamesidinfo.md) const\*\
*may be nullptr*

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

**`gameCenterInfo`**   [PFUserGameCenterInfo](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/structs/pfusergamecenterinfo.md) const\*\
*may be nullptr*

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

**`googleInfo`**   [PFUserGoogleInfo](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/structs/pfusergoogleinfo.md) const\*\
*may be nullptr*

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

**`googlePlayGamesInfo`**   [PFUserGooglePlayGamesInfo](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/structs/pfusergoogleplaygamesinfo.md) const\*\
*may be nullptr*

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

**`iosDeviceInfo`**   [PFUserIosDeviceInfo](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/structs/pfuseriosdeviceinfo.md) const\*\
*may be nullptr*

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

**`kongregateInfo`**   [PFUserKongregateInfo](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/structs/pfuserkongregateinfo.md) const\*\
*may be nullptr*

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

**`nintendoSwitchAccountInfo`**   [PFUserNintendoSwitchAccountIdInfo](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/structs/pfusernintendoswitchaccountidinfo.md) const\*\
*may be nullptr*

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

**`nintendoSwitchDeviceIdInfo`**   [PFUserNintendoSwitchDeviceIdInfo](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/structs/pfusernintendoswitchdeviceidinfo.md) const\*\
*may be nullptr*

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

**`openIdInfo`**   [PFUserOpenIdInfo](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/structs/pfuseropenidinfo.md) const\*\
*may be nullptr*

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

**`openIdInfoCount`**   uint32\_t

openIdInfo 的数量

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

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

**`privateInfo`**   [PFUserPrivateAccountInfo](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/structs/pfuserprivateaccountinfo.md) const\*\
*may be nullptr*

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

**`psnInfo`**   [PFUserPsnInfo](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/structs/pfuserpsninfo.md) const\*\
*may be nullptr*

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

**`serverCustomIdInfo`**   [PFUserServerCustomIdInfo](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/structs/pfuserservercustomidinfo.md) const\*\
*may be nullptr*

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

**`steamInfo`**   [PFUserSteamInfo](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/structs/pfusersteaminfo.md) const\*\
*may be nullptr*

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

**`titleInfo`**   [PFUserTitleInfo](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/structs/pfusertitleinfo.md) const\*\
*may be nullptr*

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

**`twitchInfo`**   [PFUserTwitchInfo](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/structs/pfusertwitchinfo.md) const\*\
*may be nullptr*

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

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

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

**`xboxInfo`**   [PFUserXboxInfo](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/structs/pfuserxboxinfo.md) const\*\
*may be nullptr*

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

## 要求

**头文件：** PFTypes.h

## 另请参阅

[PFTypes 成员](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/pftypes_members.md)


## Related topics

- [PFAccountManagementGetUserAccountInfoResult](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementgetuseraccountinforesult.md)
- [PFAccountManagementGetAccountInfoResult](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementgetaccountinforesult.md)
- [服务 C API 概览 - PFTypes.h](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/pftypes_members.md)
- [PFGetPlayerCombinedInfoResultPayload](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/structs/pfgetplayercombinedinforesultpayload.md)
- [Get User Account Info](https://docs.xbox.com/api-reference/account-management/get-user-account-info.md)
