General information
Category:
Windows API functions
Hi Erik/Ed,
Thanks for the response.
Unfortunately, the function ANetResource() returns only printers attached or the folders that are shared in one computer. It does not return the names of the PCs currently logged in.
Frankly, when I looked earlier on MSDN this ADSI went above my head. I will search for your messages on ADSI. I hope they are suitable for a VFP guy and not VFC++ :)
Thanks & regards
Vijay
++++++++
>>>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.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only