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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- userId
Type: System.Guid
- includeOwner
Type: System.Boolean
- includeDisabledAccount
Type: System.Boolean
- propertyNameFilters
Type: System.Collections.Generic.IEnumerable<String>
Return Value
Type: System.Collections.Generic.IEnumerable<Account>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.