Delen via


AccountService.QueryForAccountsByMember Method

Queries accounts associated with user ID.

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

Syntax

'Declaration
Public MustOverride Function QueryForAccountsByMember ( _
    requestContext As TeamFoundationRequestContext, _
    userId As Guid, _
    includeOwner As Boolean, _
    includeDisabledAccount As Boolean, _
    propertyNameFilters As IEnumerable(Of String) _
) As IEnumerable(Of Account)
public abstract IEnumerable<Account> QueryForAccountsByMember(
    TeamFoundationRequestContext requestContext,
    Guid userId,
    bool includeOwner,
    bool includeDisabledAccount,
    IEnumerable<string> propertyNameFilters
)
public:
virtual IEnumerable<Account^>^ QueryForAccountsByMember(
    TeamFoundationRequestContext^ requestContext, 
    Guid userId, 
    bool includeOwner, 
    bool includeDisabledAccount, 
    IEnumerable<String^>^ propertyNameFilters
) abstract
abstract QueryForAccountsByMember : 
        requestContext:TeamFoundationRequestContext * 
        userId:Guid * 
        includeOwner:bool * 
        includeDisabledAccount:bool * 
        propertyNameFilters:IEnumerable<string> -> IEnumerable<Account> 
public abstract function QueryForAccountsByMember(
    requestContext : TeamFoundationRequestContext, 
    userId : Guid, 
    includeOwner : boolean, 
    includeDisabledAccount : boolean, 
    propertyNameFilters : IEnumerable<String>
) : IEnumerable<Account>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<Account>

.NET Framework Security

See Also

Reference

AccountService Class

Microsoft.VisualStudio.Services.Account Namespace