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

# PFAccountManagementGetUserBansRequest

> PFAccountManagementGetUserBansRequest 数据模型。获取用户的所有封禁，包括非活动和已过期的封禁。

PFAccountManagementGetUserBansRequest 数据模型。获取用户的所有封禁，包括非活动和已过期的封禁。

## 语法

```cpp theme={null}
typedef struct PFAccountManagementGetUserBansRequest {  
    const char* playFabId;  
} PFAccountManagementGetUserBansRequest;  
```

### 成员

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

将对其执行操作的用户的 PlayFab 分配的唯一 ID。

## 要求

**头文件：** PFAccountManagementTypes.h

## 另请参阅

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


## Related topics

- [PFAccountManagementServerGetUserBansAsync](/zh-CN/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetuserbansasync.md)
- [服务 C API 概览 - PFAccountManagementTypes.h](/zh-CN/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members.md)
- [PFAccountManagementBanUsersRequest](/zh-CN/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementbanusersrequest.md)
- [PFAccountManagementServerBanUsersAsync](/zh-CN/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverbanusersasync.md)
- [PFAccountManagementRevokeAllBansForUserRequest](/zh-CN/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementrevokeallbansforuserrequest.md)
