Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Terminal Services Users?
Message
De
06/08/2010 16:35:52
 
 
À
06/08/2010 13:06:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01475553
Message ID:
01475578
Vues:
73
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!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform