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

# PartyXblLocalChatUserDestroyedReason

> PartyXblLocalChatUserDestroyedReason in PartyXboxLive.h enumerates reasons a local chat user was destroyed in the PlayFab Party XBOX Live helper library.

Reasons a local chat user object might be destroyed.

## Syntax

```cpp theme={null}
enum class PartyXblLocalChatUserDestroyedReason    
{  
    UnauthorizedLocalChatUser = 0,  
    FailedToGetTokenAndSignatureForLocalChatUser = 1,  
    XboxLiveServiceTemporarilyUnavailable = 2,  
    InternetConnectivityError = 3,  
    XboxLiveUserNotSignedIn = 4,  
    UnknownError = 5,  
}  
```

## Constants

| Constant | Description |
| - | - |
| UnauthorizedLocalChatUser | The user is not authorized to communicate with the XBOX Live service.  On the Windows 10 version of the library, this failure can be caused by providing an invalid token or signature to [PartyXblManager::CompleteGetTokenAndSignatureRequest()](https://docs.xbox.com/services/playfab/multiplayer/networking/xblreference/classes/PartyXblManager/methods/partyxblmanager_completegettokenandsignaturerequest.md). |
| FailedToGetTokenAndSignatureForLocalChatUser | A valid token and/or signature for an HTTP request could not be acquired. |
| XboxLiveServiceTemporarilyUnavailable | The XBOX Live service is temporarily unavailable. |
| InternetConnectivityError | The local device has internet connectivity issues that caused the operation to fail. |
| XboxLiveUserNotSignedIn | The XBOX Live user associated with the PartyXblLocalChatUser is not currently signed-in on the device. |
| UnknownError | An unknown error occurred. |

## Requirements

**Header:** PartyXboxLive.h

## See also

[PartyXboxLive members](https://docs.xbox.com/services/playfab/multiplayer/networking/xblreference/partyxboxlive_members.md)


## Related topics

- [PartyXblLocalChatUserDestroyedStateChange](https://docs.xbox.com/services/playfab/multiplayer/networking/xblreference/structs/partyxbllocalchatuserdestroyedstatechange.md)
- [PartyXboxLive C/C++ API overview](https://docs.xbox.com/services/playfab/multiplayer/networking/xblreference/partyxboxlive_members.md)
- [PartyXblCreateLocalChatUserCompletedStateChange](https://docs.xbox.com/services/playfab/multiplayer/networking/xblreference/structs/partyxblcreatelocalchatusercompletedstatechange.md)
- [Xbox Live helper library for PlayFab Party](https://docs.xbox.com/services/playfab/multiplayer/networking/party-xbox-live-guide.md)
- [PartyXblLocalChatUser](https://docs.xbox.com/services/playfab/multiplayer/networking/xblreference/classes/PartyXblLocalChatUser/partyxbllocalchatuser.md)
