TeamFoundationOAuthService.QueryApplications Method
Query all registed applications including an optional identity filter (to return only applications registered by a given user)
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function QueryApplications ( _
requestContext As TeamFoundationRequestContext, _
identityFilter As Identity _
) As List(Of OAuthApplication)
public List<OAuthApplication> QueryApplications(
TeamFoundationRequestContext requestContext,
Identity identityFilter
)
public:
List<OAuthApplication^>^ QueryApplications(
TeamFoundationRequestContext^ requestContext,
Identity^ identityFilter
)
member QueryApplications :
requestContext:TeamFoundationRequestContext *
identityFilter:Identity -> List<OAuthApplication>
public function QueryApplications(
requestContext : TeamFoundationRequestContext,
identityFilter : Identity
) : List<OAuthApplication>
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
identityFilter
Type: Microsoft.VisualStudio.Services.Identity.IdentityOptional filter to query the set of applications for a user.
Return Value
Type: System.Collections.Generic.List<OAuthApplication>
Set of matching appplications
.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.