跳轉到主要內容
PFAccountManagementUpdateBanRequest 資料模型。代表單一更新封鎖要求。

語法

成員

active   bool const*
may be nullptr
(選擇性)封鎖的更新作用中狀態。若為 null 則不變更。 banId   const char*
is null-terminated
要更新之封鎖的識別碼。 expires   time_t const*
may be nullptr
(選擇性)封鎖的更新到期日。若為 null 則不變更。 IPAddress   const char*
is null-terminated
(選擇性)封鎖的更新 IP 位址。若為 null 則不變更。 permanent   bool const*
may be nullptr
(選擇性)是否要將此封鎖設為永久。設定為 true 可將此封鎖設為永久。這不會修改作用中狀態。 reason   const char*
is null-terminated
(選擇性)要更新之封鎖的更新原因。最多 140 個字元。若為 null 則不變更。 userFamilyType   PFAccountManagementUserFamilyType const*
may be nullptr
(選擇性)應包含在封鎖中之使用者的更新家庭類型。若為 null 則不變更。

需求

標頭: PFAccountManagementTypes.h

另請參閱

PFAccountManagementTypes 成員
最後修改於 2026年10月6日