> ## 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-TW/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members.md)


## Related topics

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