Partager via


AccountService.GetLicenses Method

Returns license information for an account.

Namespace:  Microsoft.VisualStudio.Services.Account
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public MustOverride Function GetLicenses ( _
    requestContext As TeamFoundationRequestContext, _
    accountId As Guid, _
    includeDeleted As Boolean _
) As List(Of AccountLicenseInfo)
public abstract List<AccountLicenseInfo> GetLicenses(
    TeamFoundationRequestContext requestContext,
    Guid accountId,
    bool includeDeleted
)
public:
virtual List<AccountLicenseInfo^>^ GetLicenses(
    TeamFoundationRequestContext^ requestContext, 
    Guid accountId, 
    bool includeDeleted
) abstract
abstract GetLicenses : 
        requestContext:TeamFoundationRequestContext * 
        accountId:Guid * 
        includeDeleted:bool -> List<AccountLicenseInfo> 
public abstract function GetLicenses(
    requestContext : TeamFoundationRequestContext, 
    accountId : Guid, 
    includeDeleted : boolean
) : List<AccountLicenseInfo>

Parameters

  • includeDeleted
    Type: System.Boolean

    Include deleted and inactive users.

Return Value

Type: System.Collections.Generic.List<AccountLicenseInfo>

.NET Framework Security

See Also

Reference

AccountService Class

Microsoft.VisualStudio.Services.Account Namespace