Information générale
Catégorie:
Fonctions Windows API
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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement