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

# PartyXblCreateLocalChatUserCompletedStateChange

> Reference for the PartyXblCreateLocalChatUserCompleted state change reporting the result of creating an XBOX Live local chat user in PlayFab Party.

Information specific to the *CreateLocalChatUserCompleted* type of state change.

## Syntax

```cpp theme={null}
struct PartyXblCreateLocalChatUserCompletedStateChange : PartyXblStateChange {  
    PartyXblStateChangeResult result;  
    PartyError errorDetail;  
    void* asyncIdentifier;  
    PartyXblLocalChatUser* localChatUser;  
}  
```

### Members

**`result`**   [PartyXblStateChangeResult](/services/playfab/multiplayer/networking/xblreference/enums/partyxblstatechangeresult)

Indicates that the local chat user creation operation Succeeded or provides the reason that it failed.

**`errorDetail`**   [PartyError](/services/playfab/multiplayer/networking/reference/typedefs)

A diagnostic value providing additional troubleshooting information regarding any potential error condition.

**`asyncIdentifier`**   void\*

The async identifier provided to the call associated with this state change.

**`localChatUser`**   [PartyXblLocalChatUser](/services/playfab/multiplayer/networking/xblreference/classes/PartyXblLocalChatUser/partyxbllocalchatuser)\*

The local chat user that was created.

## Requirements

**Header:** PartyXboxLive.h

## See also

[PartyXboxLive members](/services/playfab/multiplayer/networking/xblreference/partyxboxlive_members)


## Related topics

- [PartyXblLocalChatUser::GetRequiredChatPermissionInfo](/services/playfab/multiplayer/networking/xblreference/classes/PartyXblLocalChatUser/methods/partyxbllocalchatuser_getrequiredchatpermissioninfo.md)
- [PartyXblLocalChatUser::GetAccessibilitySettings](/services/playfab/multiplayer/networking/xblreference/classes/PartyXblLocalChatUser/methods/partyxbllocalchatuser_getaccessibilitysettings.md)
- [PartyXblStateChangeType](/services/playfab/multiplayer/networking/xblreference/enums/partyxblstatechangetype.md)
- [PartyXboxLive C/C++ API overview](/services/playfab/multiplayer/networking/xblreference/partyxboxlive_members.md)
- [PartyCreateChatControlCompletedStateChange](/services/playfab/multiplayer/networking/reference/structs/partycreatechatcontrolcompletedstatechange.md)
