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

PFUserAccountInfo data model.

## Syntax

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

### Members

**`androidDeviceInfo`**   [PFUserAndroidDeviceInfo](https://docs.xbox.com/services/playfab/api-references/c/pftypes/structs/pfuserandroiddeviceinfo.md) const\*\
*may be nullptr*

(Optional) User Android device information, if an Android device has been linked.

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

(Optional) Sign in with Apple account information, if an Apple account has been linked.

**`battleNetAccountInfo`**   [PFUserBattleNetInfo](https://docs.xbox.com/services/playfab/api-references/c/pftypes/structs/pfuserbattlenetinfo.md) const\*\
*may be nullptr*

(Optional) Battle.net account information, if a Battle.net account has been linked.

**`created`**   time\_t

Timestamp indicating when the user account was created.

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

(Optional) Custom ID information, if a custom ID has been assigned.

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

(Optional) User Facebook information, if a Facebook account has been linked.

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

(Optional) Facebook Instant Games account information, if a Facebook Instant Games account has been linked.

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

(Optional) User Gamecenter information, if a Gamecenter account has been linked.

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

(Optional) User Google account information, if a Google account has been linked.

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

(Optional) User Google Play Games account information, if a Google Play Games account has been linked.

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

(Optional) User iOS device information, if an iOS device has been linked.

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

(Optional) User Kongregate account information, if a Kongregate account has been linked.

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

(Optional) Nintendo Switch account information, if a Nintendo Switch account has been linked.

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

(Optional) Nintendo Switch device information, if a Nintendo Switch device has been linked.

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

(Optional) OpenID Connect information, if any OpenID Connect accounts have been linked.

**`openIdInfoCount`**   uint32\_t

Count of openIdInfo

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

(Optional) Unique identifier for the user account.

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

(Optional) Personal information for the user which is considered more sensitive.

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

(Optional) User PlayStation :tm: Network account information, if a PlayStation :tm: Network account has been linked.

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

(Optional) Server Custom ID information, if a server custom ID has been assigned.

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

(Optional) User Steam information, if a Steam account has been linked.

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

(Optional) Title-specific information for the user account.

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

(Optional) User Twitch account information, if a Twitch account has been linked.

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

(Optional) User account name in the PlayFab service.

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

(Optional) User XBox account information, if a XBox account has been linked.

## Requirements

**Header:** PFTypes.h

## See also

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


## Related topics

- [PFAccountManagementGetUserAccountInfoResult](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementgetuseraccountinforesult.md)
- [PFAccountManagementGetAccountInfoResult](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementgetaccountinforesult.md)
- [Services C API overview - PFTypes.h](https://docs.xbox.com/services/playfab/api-references/c/pftypes/pftypes_members.md)
- [PFGetPlayerCombinedInfoResultPayload](https://docs.xbox.com/services/playfab/api-references/c/pftypes/structs/pfgetplayercombinedinforesultpayload.md)
- [Get User Account Info](https://docs.xbox.com/services/playfab/api-references/rest/server/account-management/get-user-account-info.md)
