J jvs1 Dec 3, 2003 #1 Is there a way to get all the users in the active directory through visual basic. Any one please help. Thanks
Is there a way to get all the users in the active directory through visual basic. Any one please help. Thanks
M Matjaz Ladava [MVP] Dec 3, 2003 #2 Yes, you use ADSI objects to access AD from Visual Basic. The code is the same as for VB scripting. There are a lot of samples located at http://www.microsoft.com/technet/treeview/default.asp?url=/technet/scriptcenter/default.asp -- Regards Matjaz Ladava, MCSE, MCSA, MCT, MVP Microsoft MVP - Active Directory (e-mail address removed), (e-mail address removed) http://ladava.com
Yes, you use ADSI objects to access AD from Visual Basic. The code is the same as for VB scripting. There are a lot of samples located at http://www.microsoft.com/technet/treeview/default.asp?url=/technet/scriptcenter/default.asp -- Regards Matjaz Ladava, MCSE, MCSA, MCT, MVP Microsoft MVP - Active Directory (e-mail address removed), (e-mail address removed) http://ladava.com