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

# PFAuthenticationUserSettings

> PFAuthenticationUserSettings 数据模型。

PFAuthenticationUserSettings 数据模型。

## 语法

```cpp theme={null}
typedef struct PFAuthenticationUserSettings {  
    bool gatherDeviceInfo;  
    bool gatherFocusInfo;  
    bool needsAttribution;  
} PFAuthenticationUserSettings;  
```

### 成员

**`gatherDeviceInfo`**   bool

一个布尔值，指示此玩家是否符合收集设备信息的条件。

**`gatherFocusInfo`**   bool

一个布尔值，指示此玩家是否应报告 OnFocus 游戏时间跟踪。

**`needsAttribution`**   bool

一个布尔值，指示此玩家是否符合广告跟踪的条件。

## 要求

**头文件：** PFAuthenticationTypes.h

## 另请参阅

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


## Related topics

- [PFAuthenticationLoginResult](/zh-CN/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginresult.md)
- [服务 C API 概览 - PFAuthenticationTypes.h](/zh-CN/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members.md)
- [PFAuthenticationLoginWithXUserRequest](/zh-CN/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginwithxuserrequest.md)
- [PFAuthenticationLoginWithXUserAsync](/zh-CN/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithxuserasync.md)
- [PFAuthenticationLoginWithXUserGetResult](/zh-CN/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithxusergetresult.md)
