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

# 用户

> 用户

本节介绍 Microsoft 游戏开发工具包(GDK)中用户的概念、用户如何以 `XUser` 表示,以及用户与输入设备的关系。

## 本节内容

[用户身份与 XUser](/build/core-features/common/user/player-identity-xuser)
介绍 XBOX One 如何使用 `XUser` 对象管理与游戏交互的用户身份。每个 `XUser` 实例代表一个已登录到游戏的用户。

[GDK 用户模型(NDA 主题)](/build/core-features/common/user/gamecore-user-models)
介绍 GDK 中可用的两种用户模型

[加入“需要默认用户”(NDA 主题)](/build/core-features/common/user/users-opting-into-simplified-model)
介绍如何选择加入以确保游戏在启动时有默认用户

[为游戏建立默认用户(NDA 主题)](/build/core-features/common/user/users-establishing-default-user)
介绍如何在游戏中建立默认用户。

[更改游戏的默认用户(NDA 主题)](/build/core-features/common/user/users-changing-default-user)
介绍如何更改游戏的默认用户

[处理手柄丢失(NDA 主题)](/build/core-features/common/user/users-dealing-with-controller-loss)
介绍游戏应如何处理手柄丢失

[用户与手柄的关联在何时发生?(NDA 主题)](/build/core-features/common/user/users-timing-of-user-to-device-association)
介绍用户与手柄的关联何时发生。

[访客用户概述](/build/core-features/common/user/users-guest-overview)
介绍 XBOX 访客账户及其与 XBOX 服务的交互。

[XUser 的无头自动化](/build/core-features/common/user/users-headless-automation)
介绍游戏如何使用 `XUser` 的自动化。

[如何:登录用户的最佳实践](/build/core-features/common/user/xuser_howto_best_practice_signing_in)
演示登录并建立初始用户的最佳实践。

[用户与输入设备](/build/core-features/common/user/users-input-devices)
介绍游戏如何确定与指定用户关联的输入设备。

## 另请参见

[System](https://learn.microsoft.com/build/archive/gc-system-toc)


## Related topics

- [用户身份](/zh-CN/services/xbox-services/fundamentals/identity/xs-identity-overview.md)
- [用户登录](/zh-CN/services/xbox-services/fundamentals/identity/auth/live-authentication-nav.md)
- [访客用户概述](/zh-CN/build/core-features/common/user/users-guest-overview.md)
- [用户与输入设备](/zh-CN/build/core-features/common/user/users-input-devices.md)
- [用户身份与 XUser](/zh-CN/build/core-features/common/user/player-identity-xuser.md)
