> ## 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 成員](/zh-TW/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members)


## Related topics

- [PFAuthenticationLoginResult](/zh-TW/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginresult.md)
- [服務 C API 概觀 - PFAuthenticationTypes.h](/zh-TW/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members.md)
- [Register Play Fab User](/api-reference/authentication/register-play-fab-user.md)
- [PFAuthenticationLoginWithXUserRequest](/zh-TW/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginwithxuserrequest.md)
- [PFAuthenticationLoginWithXUserAsync](/zh-TW/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithxuserasync.md)
