Edit

Share via


Club.RemoveClubModeratorAsync(String) Method

Definition

Removes the specified user as a moderator of the club. They will retain there other roles within the club. Can only be called by the club owner.

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

Parameters

xuid
String

The xuid of the user to demote.

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.RemoveClubModeratorAsync(System.String)

Remarks

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

Applies to