Delen via


UnauthenticatedProvider.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
Public Function GetIdentity ( _
    requestContext As TeamFoundationRequestContext, _
    identity As IIdentity _
) As Identity
public Identity GetIdentity(
    TeamFoundationRequestContext requestContext,
    IIdentity identity
)
public:
virtual Identity^ GetIdentity(
    TeamFoundationRequestContext^ requestContext, 
    IIdentity^ identity
) sealed
abstract GetIdentity : 
        requestContext:TeamFoundationRequestContext * 
        identity:IIdentity -> Identity  
override GetIdentity : 
        requestContext:TeamFoundationRequestContext * 
        identity:IIdentity -> Identity
public final function GetIdentity(
    requestContext : TeamFoundationRequestContext, 
    identity : IIdentity
) : Identity

Parameters

Return Value

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

Implements

IIdentityProvider.GetIdentity(TeamFoundationRequestContext, IIdentity)

.NET Framework Security

See Also

Reference

UnauthenticatedProvider Class

Microsoft.VisualStudio.Services.Identity Namespace