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

# 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 成员](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members.md)


## Related topics

- [PFAuthenticationLoginResult](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginresult.md)
- [服务 C API 概览 - PFAuthenticationTypes.h](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members.md)
- [/users/{userId}/profile/settings/people/{userList}?settings={settings}](https://docs.xbox.com/zh-CN/reference/live/rest/uri/profileV2/uri-usersuseridprofilesettingspeopleuserlist.md)
- [/users/batch/profile/settings](https://docs.xbox.com/zh-CN/reference/live/rest/uri/profileV2/uri-usersbatchprofilesettings.md)
- [UserSettings (JSON)](https://docs.xbox.com/zh-CN/reference/live/rest/json/json-usersettings.md)
