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

# PFAccountManagementServerRevokeAllBansForUserAsync

> ユーザーに対するすべての有効な禁止を取り消します。

ユーザーに対するすべての有効な禁止を取り消します。

## 構文

```cpp theme={null}
HRESULT PFAccountManagementServerRevokeAllBansForUserAsync(  
    PFEntityHandle titleEntityHandle,  
    const PFAccountManagementRevokeAllBansForUserRequest* request,  
    XAsyncBlock* async  
)  
```

### パラメーター

**`titleEntityHandle`**   PFEntityHandle

PFAuthenticationGetEntityWithSecretKeyAsync を使用して取得した、タイトル エンティティの PFEntityHandle。

**`request`**   [PFAccountManagementRevokeAllBansForUserRequest\*](/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementrevokeallbansforuserrequest)

値が設定されたリクエスト オブジェクト。

**`async`**   XAsyncBlock\*<br />*Inout*

非同期操作用の XAsyncBlock。

### 戻り値

型: HRESULT

この API 操作の結果コード。

## 解説

この API は Win32、Linux、および macOS で利用できます。ユーザーに対するすべての未期限切れの禁止のアクティブ状態を Inactive に設定します。ただし、Active 状態の期限切れの禁止は無視されます。適用された更新のみに関する情報を返します。ServerBanUsersAsync、ServerGetUserBansAsync、ServerRevokeBansAsync、ServerUpdateBansAsync も参照してください。非同期タスクが完了したら、[PFAccountManagementServerRevokeAllBansForUserGetResultSize](/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverrevokeallbansforusergetresultsize) と [PFAccountManagementServerRevokeAllBansForUserGetResult](/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverrevokeallbansforusergetresult) を呼び出して結果を取得します。

## 要件

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

## 関連項目

[PFAccountManagement のメンバー](/services/playfab/api-references/c/pfaccountmanagement/pfaccountmanagement_members)


## Related topics

- [PFAccountManagementServerRevokeAllBansForUserGetResult](/ja-jp/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverrevokeallbansforusergetresult.md)
- [PFAccountManagementServerRevokeBansAsync](/ja-jp/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverrevokebansasync.md)
- [PFAccountManagementServerRevokeAllBansForUserGetResultSize](/ja-jp/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverrevokeallbansforusergetresultsize.md)
- [PFAccountManagementServerGetUserBansAsync](/ja-jp/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetuserbansasync.md)
- [PFAccountManagementServerBanUsersAsync](/ja-jp/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverbanusersasync.md)
