Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Function QueryTeams ( _
requestContext As TeamFoundationRequestContext, _
descriptor As IdentityDescriptor _
) As IEnumerable(Of TeamFoundationTeam)
IEnumerable<TeamFoundationTeam> QueryTeams(
TeamFoundationRequestContext requestContext,
IdentityDescriptor descriptor
)
IEnumerable<TeamFoundationTeam^>^ QueryTeams(
TeamFoundationRequestContext^ requestContext,
IdentityDescriptor^ descriptor
)
abstract QueryTeams :
requestContext:TeamFoundationRequestContext *
descriptor:IdentityDescriptor -> IEnumerable<TeamFoundationTeam>
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>.
.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.