Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know who & how many users
Message
From
05/05/2011 03:18:18
 
 
To
05/05/2011 02:40:31
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01509573
Message ID:
01509577
Views:
93
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform