TfsTeamService.QueryTeams Method (IdentityDescriptor)
Query all Team groups that given user is a member of.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Function QueryTeams ( _
descriptor As IdentityDescriptor _
) As IEnumerable(Of TeamFoundationTeam)
public IEnumerable<TeamFoundationTeam> QueryTeams(
IdentityDescriptor descriptor
)
public:
IEnumerable<TeamFoundationTeam^>^ QueryTeams(
IdentityDescriptor^ descriptor
)
member QueryTeams :
descriptor:IdentityDescriptor -> IEnumerable<TeamFoundationTeam>
public function QueryTeams(
descriptor : IdentityDescriptor
) : IEnumerable<TeamFoundationTeam>
Parameters
- descriptor
Type: Microsoft.TeamFoundation.Framework.Client.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.