Edit

Share via


Club.AddClubModeratorAsync(String) Method

Definition

Promotes the specified user to moderator of the club. The specified user must already be a member of the club. Can only be called by the club owner.

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

Parameters

xuid
String

The xuid of the user to promote.

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

Remarks

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

Applies to