> ## 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 資料模型。這會在指定的實體設定檔上設定存取原則陳述式。此作業不是累加的，任何...

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](/zh-TW/services/playfab/api-references/c/pftypes/structs/pfstringdictionaryentry) const\*<br />*may be nullptr*

（選擇性）與要求相關聯的選擇性自訂標籤（例如組建編號、外部追蹤識別碼等）。

**`customTagsCount`**   uint32\_t

customTags 的計數

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

要執行此動作的實體。

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

要包含在存取原則中的陳述式。

**`statementsCount`**   uint32\_t

statements 的計數

## 需求

**標頭：** PFProfilesTypes.h

## 另請參閱

[PFProfilesTypes 成員](/zh-TW/services/playfab/api-references/c/pfprofilestypes/pfprofilestypes_members)


## Related topics

- [PFProfilesSetProfilePolicyAsync](/zh-TW/services/playfab/api-references/c/pfprofiles/functions/pfprofilessetprofilepolicyasync.md)
- [服務 C API 概觀 - PFProfilesTypes.h](/zh-TW/services/playfab/api-references/c/pfprofilestypes/pfprofilestypes_members.md)
- [Set Profile Policy](/api-reference/account-management/set-profile-policy.md)
- [PFProfilesSetEntityProfilePolicyResponse](/zh-TW/services/playfab/api-references/c/pfprofilestypes/structs/pfprofilessetentityprofilepolicyresponse.md)
- [PFProfilesSetProfilePolicyGetResult](/zh-TW/services/playfab/api-references/c/pfprofiles/functions/pfprofilessetprofilepolicygetresult.md)
