(self, event, event_id)
return self.getEventData(event, 'LogonID')
Retrieves the logon ID for an event.
Retrieves the logon ID for an event.
Retrieves the logon ID for an event .
def getLogonId(self, event, event_id):
        """Retrieves the logon ID for an event."""
        if event_id in [4624, 4634, 4647]:
            return self.getEventData(event, 'TargetLogonId')
        return self.getEventData(event, 'LogonID')
def getLogonId ( self , event , event_id ) : if event_id in [ 4624 , 4634 , 4647 ] : return self . getEventData ( event , 'TargetLogonId' ) return self . getEventData ( event , 'LogonID' )