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

# XUserPlatformSpopOperationResult

> XUserPlatformSpopOperationResult

# XUserPlatformSpopOperationResult

Enum defining the results of a client operation.

## Syntax

```cpp theme={null}
typedef enum XUserPlatformSpopOperationResult {
    XUserPlatformSpopOperationResult_SignInHere = 0,
    XUserPlatformSpopOperationResult_SwitchAccount = 1,
    XUserPlatformSpopOperationResult_Failure = 2,
    XUserPlatformSpopOperationResult_Canceled = 3,
} XUserPlatformSpopOperationResult;
```

## Constants

| Constant                                        | Value | Description                                                                     |
| ----------------------------------------------- | ----- | ------------------------------------------------------------------------------- |
| XUserPlatformSpopOperationResult\_SignInHere    | 0     | User agreed to sign-out the existing session and sign-in on the current device. |
| XUserPlatformSpopOperationResult\_SwitchAccount | 1     | User selected a "switch account" option.                                        |
| XUserPlatformSpopOperationResult\_Failure       | 2     | Unrecoverable failure in client operation.                                      |
| XUserPlatformSpopOperationResult\_Canceled      | 3     | Canceled client operation.                                                      |

## Remarks

## Requirements

**Header:** XUser.h

**Supported platforms:** Supported on Steam Deck

## See also

[XUser](/reference/system/xuser/xuser_members)

[XUserPlatformSpopPromptEventHandler](/reference/system/xuser/functions/xuserplatformspopprompteventhandler)

[XUserPlatformSpopPromptSetEventHandlers](/reference/system/xuser/functions/xuserplatformspoppromptseteventhandlers)

[XUserPlatformSpopPromptClearEventHandler](/reference/system/xuser/functions/xuserplatformspoppromptcleareventhandler)

[XUserPlatformSpopPromptComplete](/reference/system/xuser/functions/xuserplatformspoppromptcomplete)


## Related topics

- [XUserPlatformSpopPromptComplete](/reference/system/xuser/functions/xuserplatformspoppromptcomplete.md)
- [XUserPlatformSpopPromptEventHandler](/reference/system/xuser/functions/xuserplatformspopprompteventhandler.md)
- [XUserPlatformSpopPromptClearEventHandler](/reference/system/xuser/functions/xuserplatformspoppromptcleareventhandler.md)
- [XUserPlatformSpopPromptSetEventHandlers](/reference/system/xuser/functions/xuserplatformspoppromptseteventhandlers.md)
- [XUser](/reference/system/xuser/xuser_members.md)
