Skip to main content
Revoke all active bans for a user.

Syntax

Parameters

titleEntityHandle   PFEntityHandle PFEntityHandle for a title Entity obtained using PFAuthenticationGetEntityWithSecretKeyAsync. request   PFAccountManagementRevokeAllBansForUserRequest* Populated request object. async   XAsyncBlock*
Inout
XAsyncBlock for the async operation.

Return value

Type: HRESULT Result code for this API operation.

Remarks

This API is available on Win32, Linux, and macOS. Setting the active state of all non-expired bans for a user to Inactive. Expired bans with an Active state will be ignored, however. Returns information about applied updates only. See also ServerBanUsersAsync, ServerGetUserBansAsync, ServerRevokeBansAsync, ServerUpdateBansAsync. When the asynchronous task is complete, call PFAccountManagementServerRevokeAllBansForUserGetResultSize and PFAccountManagementServerRevokeAllBansForUserGetResult to get the result.

Requirements

Header: PFAccountManagement.h

See also

PFAccountManagement members
Last modified on August 1, 2026