TeamFoundationTeamService.QueryTeams Method (TeamFoundationRequestContext, IdentityDescriptor)
Queries all Team groups that given user is a member of.
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Public Function QueryTeams ( _
requestContext As TeamFoundationRequestContext, _
descriptor As IdentityDescriptor _
) As IEnumerable(Of TeamFoundationTeam)
public IEnumerable<TeamFoundationTeam> QueryTeams(
TeamFoundationRequestContext requestContext,
IdentityDescriptor descriptor
)
public:
virtual IEnumerable<TeamFoundationTeam^>^ QueryTeams(
TeamFoundationRequestContext^ requestContext,
IdentityDescriptor^ descriptor
) sealed
abstract QueryTeams :
requestContext:TeamFoundationRequestContext *
descriptor:IdentityDescriptor -> IEnumerable<TeamFoundationTeam>
override QueryTeams :
requestContext:TeamFoundationRequestContext *
descriptor:IdentityDescriptor -> IEnumerable<TeamFoundationTeam>
public final function QueryTeams(
requestContext : TeamFoundationRequestContext,
descriptor : IdentityDescriptor
) : IEnumerable<TeamFoundationTeam>
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- descriptor
Type: Microsoft.VisualStudio.Services.Identity.IdentityDescriptor
Return Value
Type: System.Collections.Generic.IEnumerable<TeamFoundationTeam>
Returns IEnumerable<T>.
Implements
ITeamFoundationTeamService.QueryTeams(TeamFoundationRequestContext, IdentityDescriptor)
.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.