Share via


IFWXImpersonator::Impersonate method

Applies to: desktop apps only

The Impersonate method impersonates the authenticated user.

Syntax

HRESULT Impersonate();

Parameters

This method has no parameters.

Return value

This method can return one of these values.

  • S_OK
    The impersonation succeeded.

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

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

Header

Wspfwext.idl

DLL

Wspsrv.exe

See also

IFWXImpersonator

 

 

Build date: 7/12/2010