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
- 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.