Edit

Share via


Club.RemoveUserFromClubAsync Method

Definition

Overloads

RemoveUserFromClubAsync()

Deletes all relationships the calling user has with a club including: membership, outstanding invitations, recommendations to join, and following.

RemoveUserFromClubAsync(String)

Removes all relationships between the target user and the club including: membership, outstanding invitations/recommendations, and following. Can only be called by club moderator (or on yourself, which has the same effect as calling RemoveUserFromClubAsync())

RemoveUserFromClubAsync()

Deletes all relationships the calling user has with a club including: membership, outstanding invitations, recommendations to join, and following.

[Windows.Foundation.Metadata.Overload("RemoveUserFromClubAsync2")]
public Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Microsoft.Xbox.Services.Clubs.ClubRole>> RemoveUserFromClubAsync ();
abstract member RemoveUserFromClubAsync : unit -> Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Microsoft.Xbox.Services.Clubs.ClubRole>>
override this.RemoveUserFromClubAsync : unit -> Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Microsoft.Xbox.Services.Clubs.ClubRole>>
Public Function RemoveUserFromClubAsync () As IAsyncOperation(Of IVectorView(Of ClubRole))

Returns

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

An IVectorView containing the roles the calling user now has with the club. If the call succeeds, it will not contain any role other than "banned".

Implements

Microsoft.Xbox.Services.Clubs.__IClubPublicNonVirtuals.RemoveUserFromClubAsync
Attributes
Windows.Foundation.Metadata.OverloadAttribute

Remarks

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

Applies to

RemoveUserFromClubAsync(String)

Removes all relationships between the target user and the club including: membership, outstanding invitations/recommendations, and following. Can only be called by club moderator (or on yourself, which has the same effect as calling RemoveUserFromClubAsync())

[Windows.Foundation.Metadata.Overload("RemoveUserFromClubAsync1")]
public Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Microsoft.Xbox.Services.Clubs.ClubRole>> RemoveUserFromClubAsync (string xuid);
abstract member RemoveUserFromClubAsync : string -> Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Microsoft.Xbox.Services.Clubs.ClubRole>>
override this.RemoveUserFromClubAsync : string -> Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Microsoft.Xbox.Services.Clubs.ClubRole>>
Public Function RemoveUserFromClubAsync (xuid As String) As IAsyncOperation(Of IVectorView(Of ClubRole))

Parameters

xuid
String

The xuid of the user to remove.

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.RemoveUserFromClubAsync(System.String)
Attributes
Windows.Foundation.Metadata.OverloadAttribute

Remarks

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

Applies to