This out to get you started:
http://stackoverflow.com/questions/898757/vb-using-wmi-get-logged-in-usersThere's a WMI library in the FFC to help you out.
One warning: security can be set to not permit you to access system functions through WMI or PowerShell. So that becomes one of the permissions the user, or the app if you "run as," has to have.
Hank
>Hey FoxFolx!
>
>Has anyone every been able to poll the Terminal Services API to get a list of logged in users? I need to try to do this and didn't know if it was do-able. Anything you can offer will help.
>
>Thanks in advance!