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

# chat_user::local function - overloads

> chat_user::local function - overloads

# chat\_user::local function - overloads

Returns a pointer to the [chat\_user\_local](/reference/chat/gamechat2/classes/chat_user/chat_user_local/chat_user_local) object associated with this user, if the user is local.

<a id="overloadsSection" />

## Overload list

| Name                                                                                                        | Description                                                                                                                                                                               |
| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [chat\_user::local()](/reference/chat/gamechat2/classes/chat_user/methods/chat_user_local_function)         | Returns a pointer to the [chat\_user\_local](/reference/chat/gamechat2/classes/chat_user/chat_user_local/chat_user_local) object associated with this user, if the user is local.         |
| [chat\_user::local const()](/reference/chat/gamechat2/classes/chat_user/methods/chat_user_local_function_2) | Returns a `const` pointer to the [chat\_user\_local](/reference/chat/gamechat2/classes/chat_user/chat_user_local/chat_user_local) object associated with this user, if the user is local. |

<a id="seealsoSection" />

## See also

[Intro to Game Chat 2](/services/xbox-services/multiplayer/chat/game-chat2/game-chat-2-intro)\
[chat\_user](/reference/chat/gamechat2/classes/chat_user/chat_user)


## Related topics

- [chat_user::local function](/reference/chat/gamechat2/classes/chat_user/methods/chat_user_local_function.md)
- [chat_user::local](/reference/chat/gamechat2/classes/chat_user/methods/chat_user_local_function_2.md)
- [chat_user_local::remote_user_muted](/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_remote_user_muted.md)
- [chat_user_local::microphone_muted](/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_microphone_muted.md)
- [chat_user_local::send_chat_text](/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_send_chat_text.md)
