Help for this page

Select Code to Download


  1. or download this
    use DBI;
    
    ...
        
    print "User: $user LOGON TIME: $time;";
    
  2. or download this
         Set colList = objWMI.ExecQuery("Associators of " _
             & "{Win32_LogonSession.LogonId=" & objSession.LogonId & "} " 
    +_
             & "Where AssocClass=Win32_LoggedOnUser Role=Dependent" )