Skip to main content

XUserResolveIssueWithUiAsync

Displays a system User Interface for solving token issues with a non-unicode URL.

Syntax

Parameters

user   _In_
Type: XUserHandle
A handle for the user with the token issue. url   _In_opt_z_
Type: char*
For XBOX Live issues such as consent, pass nullptr. Otherwise, set to the URL of the web request creates the issue. async   _Inout_
Type: XAsyncBlock*
An XAsyncBlock for polling for the call’s status and retrieving the call results.

Return value

Type: HRESULT Returns S_OK if successful; otherwise, returns an error code. For a list of error codes, see Error Codes.

Remarks

To return the result that XUserResolveIssueWithUiAsync returns, call XUserResolveIssueWithUiResult. If an XUsers API returns an E_GAMEUSER_RESOLVE_USER_ISSUE_REQUIRED error, the user must interact with the system user interface (UI) to resolve the issue. Call XUserResolveIssueWithUiAsync to show the appropriate system UI. To display a system User Interface for solving token issues with a unicode URL, call XUserResolveIssueWithUiUtf16Async. The following example demonstrates how to display the system UI to resolve token issues with a URL.

Requirements

Header: XUser.h Library: xgameruntime.lib Supported platforms: Windows, Steam Deck, XBOX One family consoles and XBOX Series consoles

Conceptual documentation

See also

XUser XUserResolveIssueWithUiResult XUserResolveIssueWithUiUtf16Async
Last modified on August 20, 2026