Club.UnbanUserFromClubAsync(String) 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.
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
An IVectorView containing the roles the target user now has with the club.
Implements
Remarks
Calls V1 DELETE clubroster.xboxlive.com/clubs/{clubId}/users/{userId}/roles/Banned