Club.GetRolesAsync(String) Method
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.
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);
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))
- xuid
- String
Xuid of the user
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.
Microsoft.Xbox.Services.Clubs.__IClubPublicNonVirtuals.GetRolesAsync(System.String)
Calls V4 GET clubhub.xboxlive.com/clubs/Xuid{xuid}
Produkt | Versionen |
---|---|
Xbox Live WinRT SDK | 2017.11.20171204.01 |