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

# PFAuthenticationLoginResult

> PFAuthenticationLoginResult data model.

PFAuthenticationLoginResult data model.

## Syntax

```cpp theme={null}
typedef struct PFAuthenticationLoginResult {  
    PFGetPlayerCombinedInfoResultPayload const* infoResultPayload;  
    time_t const* lastLoginTime;  
    bool newlyCreated;  
    const char* playFabId;  
    PFAuthenticationUserSettings const* settingsForUser;  
    PFTreatmentAssignment const* treatmentAssignment;  
} PFAuthenticationLoginResult;  
```

### Members

**`infoResultPayload`**   PFGetPlayerCombinedInfoResultPayload const\*\
*may be nullptr*

(Optional) Results for requested info.

**`lastLoginTime`**   time\_t const\*\
*may be nullptr*

(Optional) The time of this user's previous login. If there was no previous login, then it's DateTime.MinValue.

**`newlyCreated`**   bool

True if the master\_player\_account was newly created on this login.

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

(Optional) Player's unique PlayFabId.

**`settingsForUser`**   [PFAuthenticationUserSettings](https://docs.xbox.com/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationusersettings.md) const\*\
*may be nullptr*

(Optional) Settings specific to this user.

**`treatmentAssignment`**   PFTreatmentAssignment const\*\
*may be nullptr*

(Optional) The experimentation treatments for this user at the time of login.

## Requirements

**Header:** PFAuthenticationTypes.h

## See also

[PFAuthenticationTypes members](https://docs.xbox.com/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members.md)


## Related topics

- [PFAuthenticationLoginWithPSNGetResult](https://docs.xbox.com/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithpsngetresult.md)
- [PFAuthenticationServerLoginWithPSNGetResult](https://docs.xbox.com/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithpsngetresult.md)
- [PFAuthenticationLoginWithSteamGetResult](https://docs.xbox.com/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithsteamgetresult.md)
- [PFAuthenticationLoginWithXboxGetResult](https://docs.xbox.com/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithxboxgetresult.md)
- [PFAuthenticationLoginWithAppleGetResult](https://docs.xbox.com/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithapplegetresult.md)
