XUser API contents.
The XBOX client manages the identity of the users who are interacting with your game by using an XUserHandle object. Each XUserHandle instance represents a user who’s signed into your game.
For more information about how to connect a user to XBOX services, see the code example in How to: best practice to sign in a user.
XBOX app on Windows PC
For Windows PC development, you can use the XBOX app to access XBOX services by using a test account in a development sandbox. Use the following steps to access a test account from a development sandbox.- Download and install the XBOX app from the Microsoft Store.
- Switch to the development sandbox for your game. You can switch the development sandbox on Windows PC by using the PC Sandbox Switcher tool.
- Open the XBOX app.
- Select the profile icon, and then select Sign in.
- Follow the instructions to access the account.
XAL and XUser
XAL andXUser are similar APIs. XAL is provided to support cross-platform games.
If you’re targeting cross-platform (mobile and the GDK), use XAL. If you’re only targeting the GDK, use
XUserHandle instead.