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

# PFAccountManagementBanRequest

> PFAccountManagementBanRequest データ モデル。単一の禁止リクエストを表します。

PFAccountManagementBanRequest データ モデル。単一の禁止リクエストを表します。

## 構文

```cpp theme={null}
typedef struct PFAccountManagementBanRequest {  
    uint32_t const* durationInHours;  
    const char* IPAddress;  
    const char* playFabId;  
    const char* reason;  
    PFAccountManagementUserFamilyType const* userFamilyType;  
} PFAccountManagementBanRequest;  
```

### メンバー

**`durationInHours`**   uint32\_t const\*<br />*may be nullptr*

(省略可) 禁止の期間 (時間単位)。永久禁止にする場合は空のままにします。

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

(省略可) 禁止する IP アドレス。複数のプレイヤーに影響する場合があります。

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

操作対象のユーザーの、PlayFab によって割り当てられた一意の ID。

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

(省略可) この禁止の理由。最大 140 文字。

**`userFamilyType`**   [PFAccountManagementUserFamilyType](/services/playfab/api-references/c/pfaccountmanagementtypes/enums/pfaccountmanagementuserfamilytype) const\*<br />*may be nullptr*

(省略可) 該当する場合に禁止に含めるユーザーのファミリー タイプ。複数のプレイヤーに影響する場合があります。

## 要件

**ヘッダー:** PFAccountManagementTypes.h

## 関連項目

[PFAccountManagementTypes のメンバー](/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members)


## Related topics

- [PFAccountManagementBanUsersRequest](/ja-jp/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementbanusersrequest.md)
- [Services C API overview - PFAccountManagementTypes.h](/ja-jp/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members.md)
- [PFAccountManagementUpdateBanRequest](/ja-jp/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementupdatebanrequest.md)
- [PFAccountManagementUpdateBansRequest](/ja-jp/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementupdatebansrequest.md)
- [PFAccountManagementRevokeBansRequest](/ja-jp/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementrevokebansrequest.md)
