GetAuthenticatedUser Method of the IFWXSession Interface

The GetAuthenticatedUser method retrieves an IFWXAuthenticatedUser interface that represents the authenticated user for the session.

Syntax

HRESULT GetAuthenticatedUser(
  [out]  IFWXAuthenticatedUser** ppIFWXAuthenticatedUser
);

Parameters

  • ppIFWXAuthenticatedUser
    Address of an interface pointer that on return points to the IFWXAuthenticatedUser interface that represents the authenticated user for the session.

Return Value

This method can return one of the following:

  • S_OK, indicating that the operation succeeded.
  • An error message, indicating that the operation failed. In this case, the [out] parameter returned is a null object.

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

IFWXSession

Send comments about this topic to Microsoft

Build date: 6/30/2010