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

# GDK 中的使用者身分識別與 XUser API

> 使用 2022 年 6 月或更新版本 Microsoft Game Development Kit 建置的 XBOX 和 PC 遊戲之使用者模型選擇、XUser 身分識別 API 及登入流程。

探索 XBOX 遊戲開發的使用者相關主題。

> [card] [Microsoft Game Development Kit 使用者](https://docs.xbox.com/zh-TW/build/core-features/common/user/gamecore-user-models.md)
>
> 從 2022 年 6 月 GDK 開始，PC 和主機上的遊戲都可以選擇使用者模型。

> [card] [使用者身分識別與 XUser](https://docs.xbox.com/zh-TW/build/core-features/common/user/player-identity-xuser.md)
>
> XBOX Series X|S 使用 XUser 物件來管理與遊戲互動之使用者的身分識別。

> [card] [使用者](https://docs.xbox.com/zh-TW/build/core-features/common/user/user-toc.md)
>
> 本節說明 Microsoft Game Development Kit (GDK) 的使用者概念、使用者如何以 XUser 表示，以及…

> [card] [變更遊戲的預設使用者](https://docs.xbox.com/zh-TW/build/core-features/common/user/users-changing-default-user.md)
>
> XR-112 要求遊戲提供帳戶選擇器的進入點，以允許變更作用中 (預設) 使用者。

> [card] [處理控制器遺失](https://docs.xbox.com/zh-TW/build/core-features/common/user/users-dealing-with-controller-loss.md)
>
> 對大多數遊戲而言，讓控制器與使用者建立關聯至關重要。

> [card] [建立遊戲的預設使用者](https://docs.xbox.com/zh-TW/build/core-features/common/user/users-establishing-default-user.md)
>
> 當遊戲選擇使用簡化使用者模型時，遊戲可以使用 AddDefaultUserSilently 選項呼叫 XUserAddAsync，並且…

> [card] [來賓使用者](https://docs.xbox.com/zh-TW/build/core-features/common/user/users-guest-overview.md)
>
> 來賓使用者 (也稱為\_\_\_受贊助來賓\_\_\_或\_\_\_來賓帳戶\_\_\_) 可讓玩家與許多 XBOX services 互動，而不需要…

> [card] [XUser 的無周邊自動化](https://docs.xbox.com/zh-TW/build/core-features/common/user/users-headless-automation.md)
>
> 為了進行測試，遊戲可能會想要自動將使用者新增到遊戲中。

> [card] [使用者與輸入裝置](https://docs.xbox.com/zh-TW/build/core-features/common/user/users-input-devices.md)
>
> 遊戲需要知道哪些輸入裝置與指定的使用者相關聯。

> [card] [選擇需要預設使用者](https://docs.xbox.com/zh-TW/build/core-features/common/user/users-opting-into-simplified-model.md)
>
> 若要選擇使用簡化使用者模型，您需要將 \AdvancedUserMode\ 新增至 microsoftgame.config 並指定 "false"，如下所示。

> [card] [使用者與控制器的關聯何時](https://docs.xbox.com/zh-TW/build/core-features/common/user/users-timing-of-user-to-device-association.md)
>
> 當控制器成功與使用者建立關聯時，按下該控制器上的 Nexus 按鈕將會顯示該使用者的個人化…

> [card] [XUser 跨平台支援](https://docs.xbox.com/zh-TW/build/core-features/common/user/xuser-crossplatform.md)
>
> XUser 是 Gaming Runtime API，用於跨平台管理 XBOX 使用者帳戶和驗證。

> [card] [操作說明：登入使用者的最佳做法](https://docs.xbox.com/zh-TW/build/core-features/common/user/xuser_howto_best_practice_signing_in.md)
>
> 遊戲需要建立初始使用者。

## 另請參閱

* [非同步](https://docs.xbox.com/zh-TW/build/core-features/common/async/index.md)
* [遊戲設定](https://docs.xbox.com/zh-TW/build/core-features/common/game-config/index.md)
* [遊戲存檔](https://docs.xbox.com/zh-TW/build/core-features/common/game-save/index.md)
* [遊戲串流](https://docs.xbox.com/zh-TW/build/core-features/common/game-streaming/index.md)
* [輸入](https://docs.xbox.com/zh-TW/build/core-features/common/input/index.md)
* [照明](https://docs.xbox.com/zh-TW/build/core-features/common/lighting/index.md)
* [封裝](https://docs.xbox.com/zh-TW/build/core-features/common/packaging/index.md)


## Related topics

- [使用者身分識別與 XUser](https://docs.xbox.com/zh-TW/build/core-features/common/user/player-identity-xuser.md)
- [XBOX 服務使用者權限概觀](https://docs.xbox.com/zh-TW/services/xbox-services/fundamentals/identity/privileges/live-user-privileges-overview.md)
- [使用者身分識別概觀](https://docs.xbox.com/zh-TW/services/xbox-services/fundamentals/identity/xs-identity-overview.md)
- [來賓使用者概觀](https://docs.xbox.com/zh-TW/build/core-features/common/user/users-guest-overview.md)
- [XLaunchNewGame](https://docs.xbox.com/zh-TW/reference/system/xgame/functions/xlaunchnewgame.md)
