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 MD_EXTLOG_USERNAME flag of the MD_LOGEXT_FIELD_MASK metabase identifier.

See Also

LogExtFileUserName, MD_LOGEXT_FIELD_MASK