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

# XUserPlatformSpopOperationResult

> XUserPlatformSpopOperationResult

Enum defining the results of a client operation.

## Syntax

```cpp theme={null}
enum class XUserPlatformSpopOperationResult
{
    SignInHere = 0,
    SwitchAccount = 1,
    Failure = 2,
    Canceled = 3,
};
```

## Constants

| Constant | Description |
| - | - |
| `SignInHere` | The player chose to sign out the session on the other device and sign in on this device. |
| `SwitchAccount` | The player chose to switch to a different account. |
| `Failure` | The prompt failed with an unrecoverable error. |
| `Canceled` | The player canceled the prompt. |

## Remarks

Pass one of these values to [XUserPlatformSpopPromptComplete](https://docs.xbox.com/reference/system/xuser/functions/xuserplatformspoppromptcomplete.md), for example `XUserPlatformSpopOperationResult::SignInHere`.

## Requirements

**Header:** XUser.h

**Supported platforms:** Supported on Steam Deck

## See also

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

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

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

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


## Related topics

- [XUserPlatformSpopPromptComplete](https://docs.xbox.com/reference/system/xuser/functions/xuserplatformspoppromptcomplete.md)
- [XUserPlatformSpopPromptEventHandler](https://docs.xbox.com/reference/system/xuser/functions/xuserplatformspopprompteventhandler.md)
- [XUserPlatformSpopPromptSetEventHandlers](https://docs.xbox.com/reference/system/xuser/functions/xuserplatformspoppromptseteventhandlers.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)
