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

# PartyXblLocalChatUser::GetRequiredChatPermissionInfo

> Obtient les informations mises en cache sur les autorisations de conversation requises concernant un utilisateur de conversation cible.

Obtient les informations mises en cache sur les autorisations de conversation requises concernant un utilisateur de conversation cible.

## Syntaxe

```cpp theme={null}
PartyError GetRequiredChatPermissionInfo(  
    const PartyXblChatUser* targetChatUser,  
    PartyXblChatPermissionInfo* chatPermissionInfo  
)  
```

### Paramètres

**`targetChatUser`**   [PartyXblChatUser\*](/fr/services/playfab/multiplayer/networking/xblreference/classes/PartyXblChatUser/partyxblchatuser)

L'utilisateur de conversation pour lequel les autorisations relatives à l'utilisateur de conversation local doivent être récupérées.

**`chatPermissionInfo`**   [PartyXblChatPermissionInfo\*](/fr/services/playfab/multiplayer/networking/xblreference/structs/partyxblchatpermissioninfo)\
*output*

L'objet d'informations sur les autorisations de conversation en sortie. Cet objet contient l'autorisation de conversation la plus permissive possible tout en respectant les exigences XBOX Live.

### Valeur renvoyée

PartyError

`c_partyErrorSuccess` si l'appel a réussi ; sinon, un code d'erreur. La forme lisible du code d'erreur peut être obtenue via [PartyXblManager::GetErrorMessage()](/fr/services/playfab/multiplayer/networking/xblreference/classes/PartyXblManager/methods/partyxblmanager_geterrormessage).

## Configuration requise

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

## Voir aussi

[PartyXblLocalChatUser](/fr/services/playfab/multiplayer/networking/xblreference/classes/PartyXblLocalChatUser/partyxbllocalchatuser)\
[PartyXblCreateLocalChatUserCompletedStateChange](/fr/services/playfab/multiplayer/networking/xblreference/structs/partyxblcreatelocalchatusercompletedstatechange)\
[PartyXblRequiredChatPermissionInfoChangedStateChange](/fr/services/playfab/multiplayer/networking/xblreference/structs/partyxblrequiredchatpermissioninfochangedstatechange)


## Related topics

- [PartyXblRequiredChatPermissionInfoChangedStateChange](/fr/services/playfab/multiplayer/networking/xblreference/structs/partyxblrequiredchatpermissioninfochangedstatechange.md)
- [Bibliothèque d'assistance XBOX Live pour PlayFab Party](/fr/services/playfab/multiplayer/networking/party-xbox-live-guide.md)
- [PartyXblLocalChatUser](/fr/services/playfab/multiplayer/networking/xblreference/classes/PartyXblLocalChatUser/partyxbllocalchatuser.md)
- [PartyXblLocalChatUser::GetAccessibilitySettings](/fr/services/playfab/multiplayer/networking/xblreference/classes/PartyXblLocalChatUser/methods/partyxbllocalchatuser_getaccessibilitysettings.md)
- [PartyXblChatUser::GetLocal](/fr/services/playfab/multiplayer/networking/xblreference/classes/PartyXblChatUser/methods/partyxblchatuser_getlocal.md)
