Edit

Share via


Club.UnbanUserFromClubAsync(String) Method

Definition

Unbans the specified user from the club. Can only be called by club moderators or owner. Note: A similar affect can also be achieved by a moderator calling add_user_to_club. In that case however, banned users will immediately receive an invitation to the club in addition to being unbanned.

public Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Microsoft.Xbox.Services.Clubs.ClubRole>> UnbanUserFromClubAsync (string xuid);
abstract member UnbanUserFromClubAsync : string -> Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Microsoft.Xbox.Services.Clubs.ClubRole>>
override this.UnbanUserFromClubAsync : string -> Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Microsoft.Xbox.Services.Clubs.ClubRole>>
Public Function UnbanUserFromClubAsync (xuid As String) As IAsyncOperation(Of IVectorView(Of ClubRole))

Parameters

xuid
String

The xuid of the user to ban.

Returns

Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<ClubRole>>

An IVectorView containing the roles the target user now has with the club.

Implements

Microsoft.Xbox.Services.Clubs.__IClubPublicNonVirtuals.UnbanUserFromClubAsync(System.String)

Remarks

Calls V1 DELETE clubroster.xboxlive.com/clubs/{clubId}/users/{userId}/roles/Banned

Applies to