> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XUserIsSignOutPresent

> Indicates whether the game can sign out a user with XUserSignOutAsync in the current runtime.

# XUserIsSignOutPresent

Indicates whether the game can sign out a user by calling [XUserSignOutAsync](https://docs.xbox.com/reference/system/xuser/functions/xusersignoutasync.md) in the current runtime.

## Syntax

```cpp theme={null}
bool XUserIsSignOutPresent(
) noexcept
```

### Parameters

This function has no parameters.

### Return value

Type: bool

`true` if the current runtime supports signing out a user with [XUserSignOutAsync](https://docs.xbox.com/reference/system/xuser/functions/xusersignoutasync.md); otherwise, `false`.

## Remarks

Call **XUserIsSignOutPresent** before you show a sign-out option in your game. Call [XUserSignOutAsync](https://docs.xbox.com/reference/system/xuser/functions/xusersignoutasync.md) only when **XUserIsSignOutPresent** returns `true`.

**XUserIsSignOutPresent** returns `true` when the Gaming Runtime runs in the game's process, for example on Steam Deck, where the game includes `XGameRuntime.dll` in its package. For more information, see [XUser cross-platform support](https://docs.xbox.com/build/core-features/common/user/xuser-crossplatform.md).

On Windows PCs that use the Gaming Services system service, **XUserIsSignOutPresent** returns `false`.

This function returns a Boolean capability result, not an HRESULT. It also returns `false` if XUser can't query the capability, for example because the connection to the runtime is unavailable. A `false` result doesn't mean that the system provides a sign-out UI.

## Requirements

**Header:** XUser.h

**Library:** xgameruntime.lib

**Supported platforms:** Windows, Steam Deck, XBOX One family consoles and XBOX Series consoles

## See also

[XUser](https://docs.xbox.com/reference/system/xuser/xuser_members.md)

[XUserSignOutAsync](https://docs.xbox.com/reference/system/xuser/functions/xusersignoutasync.md)

[XUserSignOutResult](https://docs.xbox.com/reference/system/xuser/functions/xusersignoutresult.md)

[XUser cross-platform support](https://docs.xbox.com/build/core-features/common/user/xuser-crossplatform.md)


## Related topics

- [XUserSignOutResult](https://docs.xbox.com/reference/system/xuser/functions/xusersignoutresult.md)
- [XUserSignOutAsync](https://docs.xbox.com/reference/system/xuser/functions/xusersignoutasync.md)
- [XUser Cross-Platform Support](https://docs.xbox.com/build/core-features/common/user/xuser-crossplatform.md)
- [XUser (API contents)](https://docs.xbox.com/reference/system/xuser/xuser_members.md)
- [XUserGetSignOutDeferral](https://docs.xbox.com/reference/system/xuser/functions/xusergetsignoutdeferral.md)
