Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LAN users' TCP/IP
Message
From
10/07/2000 09:54:42
 
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00389801
Message ID:
00390181
Views:
12
>>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.

Actually, it shows machines logged into the same domain or workgroup, they do not necessarily have to have any shared resources. From what (little) I know about Windows networking, this data is queried from the group's browsemaster, who is in charge of knowing the names and locations of all machines logged on to the domain or workgroup. It's still a bit of a mystery to me how this list is compiled, because I have run into some situations where machines I thought should be on the list were not. If you or anybody knows where this stuff is detailed, please enlighten me, I've searched several times.

>You can get this information via the API - VFP 6 has the ANETGETRESOURCE()

Woops- you mean ANETRESOURCE().

>You may want to look into ADSI as well.

ADSI is an easy way to get a list of users and machines that a domain or worksgroup knows about, but AFAIK, won't tell you which ones are currently logged in.


Vijayaraman- if you are interested in an ADSI solution to this, do a search here on ADSI- I have posted several code snippets that might be of interest to you.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform