> ## 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 数据模型。

PFAuthenticationLoginResult 数据模型。

## 语法

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

### 成员

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

（可选）请求信息的结果。

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

（可选）此用户上次登录的时间。如果没有之前的登录记录，则为 DateTime.MinValue。

**`newlyCreated`**   bool

如果在此登录时新建了帐户，则为 True。

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

（可选）玩家的唯一 PlayFabId。

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

（可选）针对此用户的具体设置。

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

（可选）登录时此用户的实验处理组分配。

## 要求

**头文件：** PFAuthenticationTypes.h

## 另请参阅

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


## Related topics

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