Поделиться через


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.VisualStudio.Services.Identity
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.VisualStudio.Services.Identity.IdentityDescriptor

Implements

IIdentityProvider.CreateDescriptor(TeamFoundationRequestContext, IIdentity)

.NET Framework Security

See Also

Reference

BindPendingProvider Class

CreateDescriptor Overload

Microsoft.VisualStudio.Services.Identity Namespace