Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LAN users' TCP/IP
Message
De
11/07/2000 07:13:32
 
 
À
10/07/2000 09:54:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00389801
Message ID:
00390655
Vues:
9
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
Fil
Voir

Click here to load this message in the networking platform