Delen via


IIdentityProvider.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
Function CreateDescriptor ( _
    requestContext As TeamFoundationRequestContext, _
    identity As IIdentity _
) As IdentityDescriptor
IdentityDescriptor CreateDescriptor(
    TeamFoundationRequestContext requestContext,
    IIdentity identity
)
IdentityDescriptor^ CreateDescriptor(
    TeamFoundationRequestContext^ requestContext, 
    IIdentity^ identity
)
abstract CreateDescriptor : 
        requestContext:TeamFoundationRequestContext * 
        identity:IIdentity -> IdentityDescriptor
function CreateDescriptor(
    requestContext : TeamFoundationRequestContext, 
    identity : IIdentity
) : IdentityDescriptor

Parameters

Return Value

Type: Microsoft.VisualStudio.Services.Identity.IdentityDescriptor

.NET Framework Security

See Also

Reference

IIdentityProvider Interface

CreateDescriptor Overload

Microsoft.VisualStudio.Services.Identity Namespace