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

# PFProfilesSetEntityProfilePolicyRequest

> PFProfilesSetEntityProfilePolicyRequest data model. This will set the access policy statements on the given entity profile. This is not additive, any.

PFProfilesSetEntityProfilePolicyRequest data model. This will set the access policy statements on the given entity profile. This is not additive, any existing statements will be replaced with the statements in this request.

## Syntax

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

### Members

**`customTags`**   [PFStringDictionaryEntry](/services/playfab/api-references/c/pftypes/structs/pfstringdictionaryentry) const\*<br />*may be nullptr*

(Optional) The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

**`customTagsCount`**   uint32\_t

Count of customTags

**`entity`**   [PFEntityKey](/services/playfab/api-references/c/pftypes/structs/pfentitykey-c) const\*

The entity to perform this action on.

**`statements`**   [PFProfilesEntityPermissionStatement](/services/playfab/api-references/c/pfprofilestypes/structs/pfprofilesentitypermissionstatement) const\*

The statements to include in the access policy.

**`statementsCount`**   uint32\_t

Count of statements

## Requirements

**Header:** PFProfilesTypes.h

## See also

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


## Related topics

- [PFProfilesSetProfilePolicyAsync](/services/playfab/api-references/c/pfprofiles/functions/pfprofilessetprofilepolicyasync.md)
- [Services C API overview - PFProfilesTypes.h](/services/playfab/api-references/c/pfprofilestypes/pfprofilestypes_members.md)
- [PFProfilesSetEntityProfilePolicyResponse](/services/playfab/api-references/c/pfprofilestypes/structs/pfprofilessetentityprofilepolicyresponse.md)
- [PFProfilesSetProfilePolicyGetResult](/services/playfab/api-references/c/pfprofiles/functions/pfprofilessetprofilepolicygetresult.md)
- [PFProfilesGetEntityProfilesRequest](/services/playfab/api-references/c/pfprofilestypes/structs/pfprofilesgetentityprofilesrequest.md)
