Share via


BindPendingProvider.CreateDescriptor Method (TeamFoundationRequestContext, IIdentity)

Creates [Descriptor] from [IIdentity] instance provided by ASP.NET for authenticated user, through web request's [HttpContext.User.Identity] property.

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

Syntax

'Declaration
Public Function CreateDescriptor ( _
    requestContext As TeamFoundationRequestContext, _
    identity As IIdentity _
) As IdentityDescriptor
public IdentityDescriptor CreateDescriptor(
    TeamFoundationRequestContext requestContext,
    IIdentity identity
)
public:
virtual IdentityDescriptor^ CreateDescriptor(
    TeamFoundationRequestContext^ requestContext, 
    IIdentity^ identity
) sealed
abstract CreateDescriptor : 
        requestContext:TeamFoundationRequestContext * 
        identity:IIdentity -> IdentityDescriptor  
override CreateDescriptor : 
        requestContext:TeamFoundationRequestContext * 
        identity:IIdentity -> IdentityDescriptor
public final function CreateDescriptor(
    requestContext : TeamFoundationRequestContext, 
    identity : IIdentity
) : IdentityDescriptor

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.IdentityDescriptor
Returns IdentityDescriptor.

Implements

IIdentityProvider.CreateDescriptor(TeamFoundationRequestContext, IIdentity)

.NET Framework Security

See Also

Reference

BindPendingProvider Class

CreateDescriptor Overload

Microsoft.TeamFoundation.Framework.Server Namespace