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

# PFProfilesEntityPermissionStatement

> PFProfilesEntityPermissionStatement データ モデル。

PFProfilesEntityPermissionStatement データ モデル。

## 構文

```cpp theme={null}
typedef struct PFProfilesEntityPermissionStatement {  
    const char* action;  
    const char* comment;  
    PFJsonObject condition;  
    PFProfilesEffectType effect;  
    PFJsonObject principal;  
    const char* resource;  
} PFProfilesEntityPermissionStatement;  
```

### メンバー

**`action`**   const char\*<br />*null 終端*

このステートメントが影響を与えるアクション。'Read'、'Write'、または読み取りと書き込みの両方を表す '\*' を指定できます。

**`comment`**   const char\*<br />*null 終端*

(省略可能) ステートメントに関するコメント。記録およびデバッグ目的のみに使用します。

**`condition`**   [PFJsonObject](/services/playfab/api-references/c/pftypes/structs/pfjsonobject)

(省略可能) エンティティ リソースに適用される追加の条件。

**`effect`**   [PFProfilesEffectType](/services/playfab/api-references/c/pfprofilestypes/enums/pfprofileseffecttype)

このステートメントが持つ効果。Allow または Deny のいずれかを指定できます。

**`principal`**   [PFJsonObject](/services/playfab/api-references/c/pftypes/structs/pfjsonobject)

このステートメントが影響を与えるプリンシパル。

**`resource`**   const char\*<br />*null 終端*

このステートメントが影響を与えるリソース。'pfrn:data--title!\[Title ID]/Profile/\*' に類似しています。

## 要件

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

## 関連項目

[PFProfilesTypes のメンバー](/services/playfab/api-references/c/pfprofilestypes/pfprofilestypes_members)


## Related topics

- [PFProfilesSetEntityProfilePolicyRequest](/ja-jp/services/playfab/api-references/c/pfprofilestypes/structs/pfprofilessetentityprofilepolicyrequest.md)
- [PFProfilesSetEntityProfilePolicyResponse](/ja-jp/services/playfab/api-references/c/pfprofilestypes/structs/pfprofilessetentityprofilepolicyresponse.md)
- [PFProfilesEntityProfileBody](/ja-jp/services/playfab/api-references/c/pfprofilestypes/structs/pfprofilesentityprofilebody.md)
- [Services C API overview - PFProfilesTypes.h](/ja-jp/services/playfab/api-references/c/pfprofilestypes/pfprofilestypes_members.md)
- [LogStatement](/ja-jp/services/playfab/api-references/events/data-types/logstatement.md)
