>hello people!, how i can obtain a list of users and computers without install ADSI in NT 4.0?, you know some activex?, i need obtain the list of computers in the net and the users.
>
>P.D. i using NT 4.0 server and workstations are NT workstations :-)
>
>thanks in advance
>
>Best Regards
>
>Francisco Morosini
Download Ed Rauh's NETRESORUCE class. It shows how to scan your network for shares. You can use this technique to scan for machines. You'll also need his CLSHEAP class as well.
For users, take a look at the WinAPI function NetUserEnum. You can specify a machine name and get all the users from it.
You could also contact Paul Vlad Tatavu. He had an ActiveX control that integrated with VFP that handled a lot of this. He is a member here and you can send him e-mail or call him about it.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao