TeamFoundationRequestContext.CreateImpersonationContext Method (IdentityDescriptor)

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

Syntax

'Declaration
Public Function CreateImpersonationContext ( _
    identity As IdentityDescriptor _
) As TeamFoundationRequestContext
public TeamFoundationRequestContext CreateImpersonationContext(
    IdentityDescriptor identity
)
public:
TeamFoundationRequestContext^ CreateImpersonationContext(
    IdentityDescriptor^ identity
)
member CreateImpersonationContext : 
        identity:IdentityDescriptor -> TeamFoundationRequestContext 
public function CreateImpersonationContext(
    identity : IdentityDescriptor
) : TeamFoundationRequestContext

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext

.NET Framework Security

See Also

Reference

TeamFoundationRequestContext Class

CreateImpersonationContext Overload

Microsoft.TeamFoundation.Framework.Server Namespace