Skip to main content

XUserResolvePrivilegeWithUiResult

Retrieves the result of a call to XUserResolvePrivilegeWithUiAsync.

Syntax

Parameters

async   _Inout_ Type: XAsyncBlock* An XAsyncBlock for polling for the call’s status and retrieving call results.

Return value

Type: HRESULT HRESULT success or error code.

Remarks

alert NOTE: If XUserResolvePrivilegeWithUiAsync is called shortly after network connectivity is established, XUserResolvePrivilegeWithUiResult might return E_GAMEUSER_NO_AUTH_USER even though you have a signed in user. Games hitting this issue should try calling XUserResolvePrivilegeWithUiAsync again.
To display a user interface that allows a user to resolve privilege issues, call XUserResolvePrivilegeWithUiAsync. The following example shows how to use the XUserResolvePrivilegeWithUiResult function.

Requirements

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

See also

XUser XUserResolvePrivilegeWithUiAsync
Last modified on August 20, 2026