共用方式為


ClaimsProvider.CreateDescriptor Method

Include Protected Members
Include Inherited Members

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method CreateDescriptor(TeamFoundationRequestContext, IIdentity) Create Descriptor from IIdentity instance provided by ASP.NET for authenticated user (through web request's HttpContext.User.Identity property).
Public method CreateDescriptor(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.

Top

See Also

Reference

ClaimsProvider Class

Microsoft.VisualStudio.Services.Identity Namespace