Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to know who & how many users
Message
De
05/05/2011 03:18:18
 
 
À
05/05/2011 02:40:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01509573
Message ID:
01509577
Vues:
94
>To All:
>
>Microsoft has convinced me to use RDP services rather than the old fashioned file server approach.
>BUT,
>Is there a way to know what work station name (not the user) is logging in via Remote Desktop and how many RDP connections are connected at any given time?
>
>This is for license control and in order to restrict program use to a certain set of allowable work stations.
>
>Any ideas will be greatly appreciated.
>
>Thanks again very much
>
>Rich Balluff
>RLB Associates
>916 663-6285
>408 396-0035



Concerning the work station name, see message#790379 . You're interested in the ClientName

Concerning the number of sessions, I think you can use WTSEnumerateSessions http://msdn.microsoft.com/en-us/library/aa383833(v=VS.85).aspx
I don't know whether that's a good idea - there can be sessions that don't use your product at all - better use another means
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform