Skip to main content
PFAccountManagementBanRequest data model. Represents a single ban request.

Syntax

Members

durationInHours   uint32_t const*
may be nullptr
(Optional) The duration in hours for the ban. Leave this blank for a permanent ban. IPAddress   const char*
is null-terminated
(Optional) IP address to be banned. May affect multiple players. playFabId   const char*
is null-terminated
Unique PlayFab assigned ID of the user on whom the operation will be performed. reason   const char*
is null-terminated
(Optional) The reason for this ban. Maximum 140 characters. userFamilyType   PFAccountManagementUserFamilyType const*
may be nullptr
(Optional) The family type of the user that should be included in the ban if applicable. May affect multiple players.

Requirements

Header: PFAccountManagementTypes.h

See also

PFAccountManagementTypes members
Last modified on August 1, 2026