Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Terminal Services Users?
Message
From
06/08/2010 16:35:52
 
 
To
06/08/2010 13:06:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01475553
Message ID:
01475578
Views:
72
This out to get you started: http://stackoverflow.com/questions/898757/vb-using-wmi-get-logged-in-users

There'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!
Previous
Reply
Map
View

Click here to load this message in the networking platform