Property Type
UserName
Property Type
String
Description
Sets the name of the user who is logging the event.
Example
Dim EventLog As IEventLogger
'Get the interface. 'DirectScript.EventLogger.1'is the ProgId of
'the Event Logger component.
Set EventLog = CreateObject ("DirectScript.EventLogger.1")
'Set UserName property
EventLog.UserName = "MSFT\Jim"
See Also:
Event Logging