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

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

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

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

<CardGroup cols={2}>
  <Card title="Microsoft Game Development Kit 使用者" icon="user" href="/zh-TW/build/core-features/common/user/gamecore-user-models">
    從 2022 年 6 月 GDK 開始，PC 和主機上的遊戲都可以選擇使用者模型。
  </Card>

  <Card title="使用者身分識別與 XUser" icon="right-to-bracket" href="/zh-TW/build/core-features/common/user/player-identity-xuser">
    XBOX One 使用 XUser 物件來管理與遊戲互動之使用者的身分識別。
  </Card>

  <Card title="使用者" icon="user" href="/zh-TW/build/core-features/common/user/user-toc">
    本節說明 Microsoft Game Development Kit (GDK) 的使用者概念、使用者如何以 XUser 表示，以及…
  </Card>

  <Card title="變更遊戲的預設使用者" icon="user" href="/zh-TW/build/core-features/common/user/users-changing-default-user">
    XR-112 要求遊戲提供帳戶選擇器的進入點，以允許變更作用中 (預設) 使用者。
  </Card>

  <Card title="處理控制器遺失" icon="gamepad" href="/zh-TW/build/core-features/common/user/users-dealing-with-controller-loss">
    對大多數遊戲而言，讓控制器與使用者建立關聯至關重要。
  </Card>

  <Card title="建立遊戲的預設使用者" icon="user" href="/zh-TW/build/core-features/common/user/users-establishing-default-user">
    當遊戲選擇使用簡化使用者模型時，遊戲可以使用 AddDefaultUserSilently 選項呼叫 XUserAddAsync，並且…
  </Card>

  <Card title="來賓使用者" icon="circle-info" href="/zh-TW/build/core-features/common/user/users-guest-overview">
    來賓使用者 (也稱為\_\_\_受贊助來賓\_\_\_或\_\_\_來賓帳戶\_\_\_) 可讓玩家與許多 XBOX services 互動，而不需要…
  </Card>

  <Card title="XUser 的無周邊自動化" icon="user" href="/zh-TW/build/core-features/common/user/users-headless-automation">
    為了進行測試，遊戲可能會想要自動將使用者新增到遊戲中。
  </Card>

  <Card title="使用者與輸入裝置" icon="user" href="/zh-TW/build/core-features/common/user/users-input-devices">
    遊戲需要知道哪些輸入裝置與指定的使用者相關聯。
  </Card>

  <Card title="選擇需要預設使用者" icon="user" href="/zh-TW/build/core-features/common/user/users-opting-into-simplified-model">
    若要選擇使用簡化使用者模型，您需要將 \AdvancedUserMode\ 新增至 microsoftgame.config 並指定 "false"，如下所示。
  </Card>

  <Card title="使用者與控制器的關聯何時" icon="user" href="/zh-TW/build/core-features/common/user/users-timing-of-user-to-device-association">
    當控制器成功與使用者建立關聯時，按下該控制器上的 Nexus 按鈕將會顯示該使用者的個人化…
  </Card>

  <Card title="XUser 跨平台支援" icon="user" href="/zh-TW/build/core-features/common/user/xuser-crossplatform">
    XUser 是 Gaming Runtime API，用於跨平台管理 XBOX 使用者帳戶和驗證。
  </Card>

  <Card title="操作說明：登入使用者的最佳做法" icon="book-open" href="/zh-TW/build/core-features/common/user/xuser_howto_best_practice_signing_in">
    遊戲需要建立初始使用者。
  </Card>
</CardGroup>

## 另請參閱

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


## Related topics

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