> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PartyXblLocalChatUser::GetRequiredChatPermissionInfo

> 対象のチャットユーザーに関連する、キャッシュされた必須チャットアクセス許可情報を取得します。

対象のチャットユーザーに関連する、キャッシュされた必須チャットアクセス許可情報を取得します。

## 構文

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

### パラメーター

**`targetChatUser`**   [PartyXblChatUser\*](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/xblreference/classes/PartyXblChatUser/partyxblchatuser.md)

ローカルチャットユーザーに対する権限を取得する対象のチャットユーザー。

**`chatPermissionInfo`**   [PartyXblChatPermissionInfo\*](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/xblreference/structs/partyxblchatpermissioninfo.md)\
*output*

出力されるチャットアクセス許可情報オブジェクト。このチャットアクセス許可情報オブジェクトには、XBOX Live の要件を尊重しつつ可能な限り寛容なチャットアクセス許可が含まれます。

### 戻り値

PartyError

`c_partyErrorSuccess` は呼び出しが成功した場合、それ以外の場合はエラーコードを返します。エラーコードの人間が読める形式は、[PartyXblManager::GetErrorMessage()](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/xblreference/classes/PartyXblManager/methods/partyxblmanager_geterrormessage.md) を介して取得できます。

## 要件

**ヘッダー:** PartyXboxLive.h

## 関連項目

[PartyXblLocalChatUser](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/xblreference/classes/PartyXblLocalChatUser/partyxbllocalchatuser.md)\
[PartyXblCreateLocalChatUserCompletedStateChange](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/xblreference/structs/partyxblcreatelocalchatusercompletedstatechange.md)\
[PartyXblRequiredChatPermissionInfoChangedStateChange](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/xblreference/structs/partyxblrequiredchatpermissioninfochangedstatechange.md)


## Related topics

- [PartyXblRequiredChatPermissionInfoChangedStateChange](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/xblreference/structs/partyxblrequiredchatpermissioninfochangedstatechange.md)
- [XBOX Live helper library for PlayFab Party](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/party-xbox-live-guide.md)
- [PartyXblLocalChatUser](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/xblreference/classes/PartyXblLocalChatUser/partyxbllocalchatuser.md)
- [PartyXblLocalChatUser::GetAccessibilitySettings](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/xblreference/classes/PartyXblLocalChatUser/methods/partyxbllocalchatuser_getaccessibilitysettings.md)
- [PartyXblLocalChatUser::GetCrossNetworkCommunicationPrivacySetting](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/xblreference/classes/PartyXblLocalChatUser/methods/partyxbllocalchatuser_getcrossnetworkcommunicationprivacysetting.md)
