|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Skeleton Active Directory Interface Code (VB.Net)Good morning everybody;
I'm looking to find some skeleton code, the bare minimum coding you need to be able to access the Active Directory in Windows Server 2003, using VB.Net code. What I really want to be able to do is check for the presence of a username across an entire domain, in any Organizational Unit, and return either a true or false value upon finding it (or not finding it). I have researched enough to discover that I need to import System.DirectoryServices, but then what? Again, just skeleton code would probably be enough to point me in EXACTLY the right direction. Any assistance at all would be fantastic! >I have researched enough to discover that I need to import First off - go to the S.DS portal on MSDN and read up on S.DS and>System.DirectoryServices, but then what? check out the plenty of VB.NET code samples they have there: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sds/sds/portal.asp Under the "Using S.DS" heading, there's a page called "Quick List for Visual Basic.NET Code Examples" - check those out! Next, I'd strongly recommend you get the excellent S.DS programming book by Joe Kaplan / Ryan Dunn - they explain everything you'd ever want and need to know about programming S.DS from .NET : http://www.amazon.com/Developers-Directory-Programming-Microsoft-Development/dp/0321350170/ Cheers! Marc I can throw down for that book for sure, thanks for the push in the
right direction! On Mar 8, 1:12 am, Marc Scheuner <no.s***@for.me> wrote: Show quote > >I have researched enough to discover that I need to import > >System.DirectoryServices, but then what? > > First off - go to the S.DS portal on MSDN and read up on S.DS and > check out the plenty of VB.NET code samples they have there: > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sds/... > > Under the "Using S.DS" heading, there's a page called "Quick List for > Visual Basic.NET Code Examples" - check those out! > > Next, I'd strongly recommend you get the excellent S.DS programming > book by Joe Kaplan / Ryan Dunn - they explain everything you'd ever > want and need to know about programming S.DS from .NET : > > http://www.amazon.com/Developers-Directory-Programming-Microsoft-Deve... > > Cheers! > Marc |
|||||||||||||||||||||||