BindPendingProvider.GetIdentity Method
Get the identity from the ASP.NET identity source.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function GetIdentity ( _
requestContext As TeamFoundationRequestContext, _
identity As IIdentity _
) As TeamFoundationIdentity
public TeamFoundationIdentity GetIdentity(
TeamFoundationRequestContext requestContext,
IIdentity identity
)
public:
virtual TeamFoundationIdentity^ GetIdentity(
TeamFoundationRequestContext^ requestContext,
IIdentity^ identity
) sealed
abstract GetIdentity :
requestContext:TeamFoundationRequestContext *
identity:IIdentity -> TeamFoundationIdentity
override GetIdentity :
requestContext:TeamFoundationRequestContext *
identity:IIdentity -> TeamFoundationIdentity
public final function GetIdentity(
requestContext : TeamFoundationRequestContext,
identity : IIdentity
) : TeamFoundationIdentity
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
identity
Type: System.Security.Principal.IIdentityThe identity source.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationIdentity
The identity with properties from the presented identity.
Implements
IIdentityProvider.GetIdentity(TeamFoundationRequestContext, IIdentity)
.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.