Auf Englisch lesen Bearbeiten

Teilen über


Club.GetRolesAsync(String) Method

Definition

Returns the roles a given user has within the club.

C#
public Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Microsoft.Xbox.Services.Clubs.ClubRole>> GetRolesAsync (string xuid);

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

Produkt Versionen
Xbox Live WinRT SDK 2017.11.20171204.01