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

# Establishing the Default User for the Game

> Establishing the Default User for the Game

When a title chooses to use the Simplifed User Model, a game can call
[XUserAddAsync](/reference/system/xuser/functions/xuseraddasync) with the AddDefaultUserSilently option
and are guaranteed to receive a valid user. Once you have the user, you
can fetch their gamertag and indicate who is control of the game.

If the title is not using the Simplified User Model, there is no guarantee
that there will be a default user at launch. Games can choose whether or not
to try and find that default user calling [XUserAddAsync](/reference/system/xuser/functions/xuseraddasync)
with either the AddDefaultUserSilently or AddDefaultUserAllowingUI options.
If these return E\_GAMEUSER\_NO\_DEFAULT\_USER, the title will need to have
an initial interactive screen where they ask for a user to sign-in.
When the user chooses to engage, likely by clicking on the game-provided
button, the title can call [XUserAddAsync](/reference/system/xuser/functions/xuseraddasync) without the
default options. This will show UI and allow the title to get
a user for the game.

## See Also

[Opting into Default User Required](/build/core-features/common/user/users-opting-into-simplified-model)
[XUserAddAsync](/reference/system/xuser/functions/xuseraddasync)


## Related topics

- [Users](/build/core-features/common/user/user-toc.md)
- [Changing the Default User for the Game](/build/core-features/common/user/users-changing-default-user.md)
- [Troubleshooting Sign-in and Sandbox Errors](/services/xbox-services/develop/troubleshooting/live-troubleshoot-sandboxes.md)
- [XR-112 Establishing a user and controller on activation](/publishing/certification/xr/xr-112.md)
- [User identity and XUser APIs in the GDK](/build/core-features/common/user/index.md)
