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

# PFAccountManagementBanInfo

> PFAccountManagementBanInfo データ モデル。禁止に関する情報を含みます。

PFAccountManagementBanInfo データ モデル。禁止に関する情報を含みます。

## 構文

```cpp theme={null}
typedef struct PFAccountManagementBanInfo {  
    bool active;  
    const char* banId;  
    time_t const* created;  
    time_t const* expires;  
    const char* IPAddress;  
    const char* playFabId;  
    const char* reason;  
    const char* userFamilyType;  
} PFAccountManagementBanInfo;  
```

### メンバー

**`active`**   bool

この禁止のアクティブ状態。期限切れの禁止でもこの値が true に設定されている場合がありますが、効果はありません。

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

(省略可) この禁止に関連付けられた一意の Ban ID。

**`created`**   time\_t const\*<br />*may be nullptr*

(省略可) この禁止が適用された時刻。

**`expires`**   time\_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*

(省略可) この禁止が適用された理由。

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

(省略可) 禁止に含まれるユーザーのファミリー タイプ。

## 要件

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

## 関連項目

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


## Related topics

- [PFAccountManagementUpdateBansResult](/ja-jp/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementupdatebansresult.md)
- [PFAccountManagementBanUsersResult](/ja-jp/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementbanusersresult.md)
- [PFAccountManagementRevokeBansResult](/ja-jp/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementrevokebansresult.md)
- [PFAccountManagementGetUserBansResult](/ja-jp/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementgetuserbansresult.md)
- [PFAccountManagementRevokeAllBansForUserResult](/ja-jp/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementrevokeallbansforuserresult.md)
