TpcTeamStore.GetTeamsForCurrentUser Method

Gets all the Teams the active user is a member of for the selected project Uris (selected in the 'Initialize' or via the 'GetTeam' methods).

Namespace:  Microsoft.VisualStudio.Services.Integration
Assembly:  Microsoft.VisualStudio.Services.Integration (in Microsoft.VisualStudio.Services.Integration.dll)

Syntax

'Declaration
Public Function GetTeamsForCurrentUser As ICollection(Of TeamConfiguration)
public ICollection<TeamConfiguration> GetTeamsForCurrentUser()
public:
ICollection<TeamConfiguration^>^ GetTeamsForCurrentUser()
member GetTeamsForCurrentUser : unit -> ICollection<TeamConfiguration> 
public function GetTeamsForCurrentUser() : ICollection<TeamConfiguration>

Return Value

Type: System.Collections.Generic.ICollection<TeamConfiguration>

.NET Framework Security

See Also

Reference

TpcTeamStore Class

Microsoft.VisualStudio.Services.Integration Namespace