Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LAN users' TCP/IP
Message
From
10/07/2000 08:56:11
 
 
To
10/07/2000 07:18:03
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00389801
Message ID:
00390144
Views:
12
>Thanks for the response. I have programs which indicates which users are logged into that one in particular. What I wanted was for a generic program to send some messages to all the NT users, view their screen etc, shutdown their PC etc. (I know that's too much but I guess its possible without having to create a table and all the users to check for this table every now and then). I wanted to use Winsock to do that and try.
>
>I was just wondering, when we double click the "Network Neighborhood" it pops up with all the active users. There must be somewhere in NT server this information must have been stored. Isn't it?
>

No, it displays the NetBIOS names of the machines in your current scope that have some shared resource available. It doies not rely on the Socket layer to resolve this. You can get this information via the API - VFP 6 has the ANETGETRESOURCE() function, and my NETRESOURCE class in the files section can be used to get the same kind of information using API calls.

You may want to look into ADSI as well.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform