IIdentityProvider.CreateDescriptor Method (TeamFoundationRequestContext, String)
A provider can implement [CreateDescriptor] if they support resolving an identity's generalized display name to a descriptor. This enables 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 cannot resolve the display name to a unique user.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Function CreateDescriptor ( _
requestContext As TeamFoundationRequestContext, _
displayName As String _
) As IdentityDescriptor
IdentityDescriptor CreateDescriptor(
TeamFoundationRequestContext requestContext,
string displayName
)
IdentityDescriptor^ CreateDescriptor(
TeamFoundationRequestContext^ requestContext,
String^ displayName
)
abstract CreateDescriptor :
requestContext:TeamFoundationRequestContext *
displayName:string -> IdentityDescriptor
function CreateDescriptor(
requestContext : TeamFoundationRequestContext,
displayName : String
) : IdentityDescriptor
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- displayName
Type: System.String
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.IdentityDescriptor
.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.