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

# PFAccountManagementBanUsersRequest

> PFAccountManagementBanUsersRequest 数据模型。 不会验证每个用户是否存在。 按 IP 封禁时可能会影响多个玩家，因此请使用。

PFAccountManagementBanUsersRequest 数据模型。 不会验证每个用户是否存在。 按 IP 封禁时可能会影响多个玩家，因此请谨慎使用此功能。 返回有关新封禁的信息。

## 语法

```cpp theme={null}
typedef struct PFAccountManagementBanUsersRequest {  
    PFAccountManagementBanRequest const* bans;  
    uint32_t bansCount;  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
} PFAccountManagementBanUsersRequest;  
```

### 成员

**`bans`**   [PFAccountManagementBanRequest](/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementbanrequest) const\*

要应用的封禁请求列表。 最多 100 个。

**`bansCount`**   uint32\_t

bans 的数量

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

（可选）与请求关联的可选自定义标记（例如生成号、外部跟踪标识符等）。

**`customTagsCount`**   uint32\_t

customTags 的数量

## 要求

**头文件：** PFAccountManagementTypes.h

## 另请参阅

[PFAccountManagementTypes 成员](/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members)
