Share via


IIdentityProvider.GetIdentity Method

Gets the identity from the ASP.NET identity source.

Namespace:  Microsoft.VisualStudio.Services.Identity
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Function GetIdentity ( _
    requestContext As TeamFoundationRequestContext, _
    identity As IIdentity _
) As Identity
Identity GetIdentity(
    TeamFoundationRequestContext requestContext,
    IIdentity identity
)
Identity^ GetIdentity(
    TeamFoundationRequestContext^ requestContext, 
    IIdentity^ identity
)
abstract GetIdentity : 
        requestContext:TeamFoundationRequestContext * 
        identity:IIdentity -> Identity
function GetIdentity(
    requestContext : TeamFoundationRequestContext, 
    identity : IIdentity
) : Identity

Parameters

Return Value

Type: Microsoft.VisualStudio.Services.Identity.Identity
The identity with properties from the presented identity.

.NET Framework Security

See Also

Reference

IIdentityProvider Interface

Microsoft.VisualStudio.Services.Identity Namespace