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

# 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\*<br />*may be nullptr*

(Optional) Results for requested info.

**`lastLoginTime`**   time\_t const\*<br />*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 account was newly created on this login.

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

(Optional) Player's unique PlayFabId.

**`settingsForUser`**   [PFAuthenticationUserSettings](/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationusersettings) const\*<br />*may be nullptr*

(Optional) Settings specific to this user.

**`treatmentAssignment`**   PFTreatmentAssignment const\*<br />*may be nullptr*

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

## Requirements

**Header:** PFAuthenticationTypes.h

## See also

[PFAuthenticationTypes members](/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members)


## Related topics

- [PFAuthenticationLoginWithPSNGetResult](/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithpsngetresult.md)
- [PFAuthenticationLoginWithSteamGetResult](/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithsteamgetresult.md)
- [PFAuthenticationLoginWithXboxGetResult](/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithxboxgetresult.md)
- [PFAuthenticationLoginWithCustomIDGetResult](/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithcustomidgetresult.md)
- [PFAuthenticationLoginWithFacebookGetResult](/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithfacebookgetresult.md)
