gkamenjati
Posts: 108
Score: 0 Joined: 6/8/2005 From: San Jose, California Status: offline
|
Dave's link is what we've used in our systems, but we disabled the user side, and just edited the machine Description field. Set objSysInfo = CreateObject("ADSystemInfo") Set objUser = GetObject("LDAP://" & objSysInfo.UserName) Set objComputer = GetObject("LDAP://" & objSysInfo.ComputerName) strMessage = objUser.CN & " logged on to " & objComputer.CN & " " & Now & "." '''objUser.Description = strMessage '''objUser.SetInfo objComputer.Description = strMessage objComputer.SetInfo
|