Impersonate Method of the IFWXImpersonator Interface

The Impersonate method impersonates the authenticated user.

Syntax

HRESULT Impersonate();

Parameters

This method has no parameters.

Return Value

  • S_OK
    The impersonation succeeded.

  • FWX_E_NOT_AUTHENTICATED
    Cannot impersonate the user because the session is not authenticated.

Requirements

Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
Header

Declared in Wspfwext.idl.

DLL

Requires Wspsrv.exe.

See Also

IFWXImpersonator

Send comments about this topic to Microsoft

Build date: 6/30/2010