Accessing Active Directory Using Visual Basic
One of the most powerful features that became available with the Microsoft Windows 2000 operating system is the Microsoft Active Directory directory service. When you log on to a Windows 2000 domain, Active Directory is put into action; to search for the closest color printer in your building, you can use Active Directory. It can be used for an address book lookup or a search for users who work in building 40. With Active Directory, you can use a smart card to log on to a Windows 2000 domain. You can even join data from Microsoft SQL Server database software and Active Directory.
Many other Microsoft technologies, such as Microsoft Message Queue Server (MSMQ), COM (Class Store), Internet Protocol security (IPsec), Group Policy Objects (GPOs), and Exchange are integrated with Active Directory.
This section discusses how to use the Active Directory Service Interfaces (ADSI) to access Active Directory. Using a scenario for a fictitious company — the Fabrikam Corporation — you will learn how to perform some basic administrative tasks.
As you progress through this scenario, the code examples in each section build upon themselves.
For brevity, all code examples are written with the Microsoft Visual Basic development system. For more information about C++ conversion, see Mapping ADSI Visual Basic Code to C++ Code.
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om