Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- identity
Type: System.Security.Principal.IIdentity
Return Value
Type: Microsoft.VisualStudio.Services.Identity.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.