Partager via


UnauthenticatedProvider.CreateDescriptor Method (TeamFoundationRequestContext, String)

A provider MAY implement CreateDescriptor if they support resolving an identities generalized display name to a descriptor. This allows TFS to take a display name for an unknown user and resolve it using the provider to a fully qualified identity. NOTE: You should return NULL if you can't resolve the display name to a unqiue user.

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

Syntax

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

Parameters

Return Value

Type: Microsoft.VisualStudio.Services.Identity.IdentityDescriptor

Implements

IIdentityProvider.CreateDescriptor(TeamFoundationRequestContext, String)

.NET Framework Security

See Also

Reference

UnauthenticatedProvider Class

CreateDescriptor Overload

Microsoft.VisualStudio.Services.Identity Namespace