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

PFProfilesEntityPermissionStatement data model.

## Syntax

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

### Members

**`action`**   const char\*<br />*is null-terminated*

The action this statement effects. May be 'Read', 'Write' or '\*' for both read and write.

**`comment`**   const char\*<br />*is null-terminated*

(Optional) A comment about the statement. Intended solely for bookkeeping and debugging.

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

(Optional) Additional conditions to be applied for entity resources.

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

The effect this statement will have. It may be either Allow or Deny.

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

The principal this statement will effect.

**`resource`**   const char\*<br />*is null-terminated*

The resource this statements effects. Similar to 'pfrn:data--title!\[Title ID]/Profile/\*'.

## Requirements

**Header:** PFProfilesTypes.h

## See also

[PFProfilesTypes members](/services/playfab/api-references/c/pfprofilestypes/pfprofilestypes_members)


## Related topics

- [PFProfilesSetEntityProfilePolicyResponse](/services/playfab/api-references/c/pfprofilestypes/structs/pfprofilessetentityprofilepolicyresponse.md)
- [PFProfilesSetEntityProfilePolicyRequest](/services/playfab/api-references/c/pfprofilestypes/structs/pfprofilessetentityprofilepolicyrequest.md)
- [PFProfilesEntityProfileBody](/services/playfab/api-references/c/pfprofilestypes/structs/pfprofilesentityprofilebody.md)
- [Services C API overview - PFProfilesTypes.h](/services/playfab/api-references/c/pfprofilestypes/pfprofilestypes_members.md)
- [PFProfilesSetProfilePolicyAsync](/services/playfab/api-references/c/pfprofiles/functions/pfprofilessetprofilepolicyasync.md)
