Edit

Share via


Club.GetRolesAsync(String) Method

Definition

Returns the roles a given user has within the club.

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

Parameters

xuid
String

Xuid of the user

Returns

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

An IVectorView containing the ClubRoles the user has within the club. If the user has no association with the club an empty vector will be returned.

Implements

Microsoft.Xbox.Services.Clubs.__IClubPublicNonVirtuals.GetRolesAsync(System.String)

Remarks

Calls V4 GET clubhub.xboxlive.com/clubs/Xuid{xuid}

Applies to