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
- identity
Type: Microsoft.TeamFoundation.Framework.Server.IdentityDescriptor
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
.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.
See Also
Reference
TeamFoundationRequestContext Class