title: How can I get list in VB.NET of all users currently logged in to a windows 7 computer?
body: <p>I've got an application running a manufacturing process on a Windows 7 computer. The app has some time-sensitive components that sometimes run slow for a second or two. I know there are a lot of background operations happening in the CLR and OS that can cause program delays, but I've also seen the users sometimes log in to their personal accounts to check email, etc., while my app is running. I'm sure their doing this causes some of the slow-downs. IT says they can't block user accounts on individual computers, so I'd like to have my app text me when the system is running slow and users are logged in to their personal accounts, so I can run over there and call them out on it. Thank you.   </p>