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.TeamFoundation.Framework.Server
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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- identity
Type: System.Security.Principal.IIdentity
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.IdentityDescriptor
Returns IdentityDescriptor.
Implements
IIdentityProvider.CreateDescriptor(TeamFoundationRequestContext, IIdentity)
.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.