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

# PartyLocalEndpoint::GetLocalUser

> Obtient l'utilisateur local associé à ce point de terminaison local.

Obtient l'utilisateur local associé à ce point de terminaison local.

## Syntaxe

```cpp theme={null}
PartyError GetLocalUser(  
    PartyLocalUser** localUser  
)  
```

### Paramètres

**`localUser`**   [PartyLocalUser\*\*](/fr-CA/services/playfab/multiplayer/networking/reference/classes/PartyLocalUser/partylocaluser)\
*library-allocated output, may return nullptr*

L'utilisateur local de sortie associé à ce point de terminaison local, ou nullptr.

### Valeur de retour

PartyError

`c_partyErrorSuccess` si l'appel a réussi; sinon, un code d'erreur. La forme lisible du code d'erreur peut être obtenue au moyen de [PartyManager::GetErrorMessage()](/fr-CA/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage).

## Remarques

Si ce point de terminaison n'est associé à aucun utilisateur, `localUser` est défini sur nullptr.

## Configuration requise

**En-tête :** Party.h

## Voir aussi

[PartyLocalEndpoint](/fr-CA/services/playfab/multiplayer/networking/reference/classes/PartyLocalEndpoint/partylocalendpoint)


## Related topics

- [PartyLocalEndpoint](/fr-CA/services/playfab/multiplayer/networking/reference/classes/PartyLocalEndpoint/partylocalendpoint.md)
- [PartyLocalEndpoint::GetEndpointStatistics](/fr-CA/services/playfab/multiplayer/networking/reference/classes/PartyLocalEndpoint/methods/partylocalendpoint_getendpointstatistics.md)
- [PartyLocalEndpoint::SendMessage](/fr-CA/services/playfab/multiplayer/networking/reference/classes/PartyLocalEndpoint/methods/partylocalendpoint_sendmessage.md)
- [PartyEndpoint::GetLocal](/fr-CA/services/playfab/multiplayer/networking/reference/classes/PartyEndpoint/methods/partyendpoint_getlocal.md)
- [PartyLocalChatControl::GetLocalUser](/fr-CA/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_getlocaluser.md)
