IInetLogInformation::GetClientUserName

The IInetLogInformation::GetClientUserName method obtains the name used by the client to log on.

virtual LPSTR STDMETHODCALLTYPE GetClientUserName(
      IN PCHAR pszClientUserName,
      IN PDWORD pcbSize
);

Parameters

  • pszClientUserName
    [in] User name logged on to the computer that sent the request.

  • pcbSize
    [in] Size of the pszClientUserName parameter.

Remarks

Logging modules should query for this method if a server instance has set the LogExtFileUserName flag of the LogExtFileFlags metabase identifier.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

Header: Declared in ilogobj.hxx.

See Also