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

# PFProfilesSetEntityProfilePolicyRequest

> PFProfilesSetEntityProfilePolicyRequest データ モデル。指定されたエンティティ プロファイルにアクセス ポリシー ステートメントを設定します。これは追加的なものではなく、既存のステートメントは置き換えられます。

PFProfilesSetEntityProfilePolicyRequest データ モデル。指定されたエンティティ プロファイルにアクセス ポリシー ステートメントを設定します。これは追加的なものではなく、既存のステートメントはこのリクエスト内のステートメントに置き換えられます。

## 構文

```cpp theme={null}
typedef struct PFProfilesSetEntityProfilePolicyRequest {  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    PFEntityKey const* entity;  
    PFProfilesEntityPermissionStatement const* statements;  
    uint32_t statementsCount;  
} PFProfilesSetEntityProfilePolicyRequest;  
```

### メンバー

**`customTags`**   [PFStringDictionaryEntry](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pftypes/structs/pfstringdictionaryentry.md) const\*\
*nullptr の可能性あり*

(省略可能) リクエストに関連付けられた省略可能なカスタム タグ (例: ビルド番号、外部トレース識別子など)。

**`customTagsCount`**   uint32\_t

customTags の数。

**`entity`**   [PFEntityKey](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pftypes/structs/pfentitykey-c.md) const\*

このアクションを実行する対象のエンティティ。

**`statements`**   [PFProfilesEntityPermissionStatement](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfprofilestypes/structs/pfprofilesentitypermissionstatement.md) const\*

アクセス ポリシーに含めるステートメント。

**`statementsCount`**   uint32\_t

statements の数。

## 要件

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

## 関連項目

[PFProfilesTypes のメンバー](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfprofilestypes/pfprofilestypes_members.md)


## Related topics

- [PFProfilesSetProfilePolicyAsync](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfprofiles/functions/pfprofilessetprofilepolicyasync.md)
- [Services C API overview - PFProfilesTypes.h](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfprofilestypes/pfprofilestypes_members.md)
- [Set Profile Policy](https://docs.xbox.com/api-reference/account-management/set-profile-policy.md)
- [PFProfilesSetEntityProfilePolicyResponse](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfprofilestypes/structs/pfprofilessetentityprofilepolicyresponse.md)
- [PFProfilesSetProfilePolicyGetResult](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfprofiles/functions/pfprofilessetprofilepolicygetresult.md)
