> ## 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;  
    PFUserBattleNetInfo const* battleNetAccountInfo;  
    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](/zh-TW/services/playfab/api-references/c/pftypes/structs/pfuserandroiddeviceinfo) const\*<br />*may be nullptr*

（選擇性）使用者 Android 裝置資訊 (如果已連結 Android 裝置)。

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

（選擇性）Sign in with Apple 帳戶資訊 (如果已連結 Apple 帳戶)。

**`battleNetAccountInfo`**   [PFUserBattleNetInfo](/zh-TW/services/playfab/api-references/c/pftypes/structs/pfuserbattlenetinfo) const\*<br />*may be nullptr*

（選擇性）Battle.net 帳戶資訊 (如果已連結 Battle.net 帳戶)。

**`created`**   time\_t

指出使用者帳戶建立時間的時間戳記。

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

（選擇性）自訂識別碼資訊 (如果已指派自訂識別碼)。

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

（選擇性）使用者 Facebook 資訊 (如果已連結 Facebook 帳戶)。

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

（選擇性）Facebook Instant Games 帳戶資訊 (如果已連結 Facebook Instant Games 帳戶)。

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

（選擇性）使用者 Gamecenter 資訊 (如果已連結 Gamecenter 帳戶)。

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

（選擇性）使用者 Google 帳戶資訊 (如果已連結 Google 帳戶)。

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

（選擇性）使用者 Google Play Games 帳戶資訊 (如果已連結 Google Play Games 帳戶)。

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

（選擇性）使用者 iOS 裝置資訊 (如果已連結 iOS 裝置)。

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

（選擇性）使用者 Kongregate 帳戶資訊 (如果已連結 Kongregate 帳戶)。

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

（選擇性）Nintendo Switch 帳戶資訊 (如果已連結 Nintendo Switch 帳戶)。

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

（選擇性）Nintendo Switch 裝置資訊 (如果已連結 Nintendo Switch 裝置)。

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

（選擇性）OpenID Connect 資訊 (如果已連結任何 OpenID Connect 帳戶)。

**`openIdInfoCount`**   uint32\_t

openIdInfo 的計數

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

（選擇性）使用者帳戶的唯一識別碼。

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

（選擇性）被視為較敏感的使用者個人資訊。

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

（選擇性）使用者 PlayStation :tm: Network 帳戶資訊 (如果已連結 PlayStation :tm: Network 帳戶)。

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

（選擇性）伺服器自訂識別碼資訊 (如果已指派伺服器自訂識別碼)。

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

（選擇性）使用者 Steam 資訊 (如果已連結 Steam 帳戶)。

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

（選擇性）使用者帳戶的遊戲專屬資訊。

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

（選擇性）使用者 Twitch 帳戶資訊 (如果已連結 Twitch 帳戶)。

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

（選擇性）PlayFab 服務中的使用者帳戶名稱。

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

（選擇性）使用者 XBox 帳戶資訊 (如果已連結 XBox 帳戶)。

## 需求

**標頭:** PFTypes.h

## 另請參閱

[PFTypes 成員](/zh-TW/services/playfab/api-references/c/pftypes/pftypes_members)


## Related topics

- [PFAccountManagementGetUserAccountInfoResult](/zh-TW/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementgetuseraccountinforesult.md)
- [PFAccountManagementGetAccountInfoResult](/zh-TW/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementgetaccountinforesult.md)
- [服務 C API 概觀 - PFTypes.h](/zh-TW/services/playfab/api-references/c/pftypes/pftypes_members.md)
- [PFGetPlayerCombinedInfoResultPayload](/zh-TW/services/playfab/api-references/c/pftypes/structs/pfgetplayercombinedinforesultpayload.md)
- [Get User Account Info](/api-reference/account-management/get-user-account-info.md)
