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