Club.RemoveUserFromClubAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
- 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
An IVectorView containing the roles the target user now has with the club.
Implements
- Attributes
-
Windows.Foundation.Metadata.OverloadAttribute
Remarks
Calls V1 DELETE clubroster.xboxlive.com/clubs/{clubId}/users/{userId}