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

# 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.<br /><br /> On the Windows 10 version of the library, this failure can be caused by providing an invalid token or signature to [PartyXblManager::CompleteGetTokenAndSignatureRequest()](/services/playfab/multiplayer/networking/xblreference/classes/PartyXblManager/methods/partyxblmanager_completegettokenandsignaturerequest). |
| 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](/services/playfab/multiplayer/networking/xblreference/partyxboxlive_members)


## Related topics

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