大网数据广告活动
域与目录服务

Accessing Active Directory Using Visual Basic

· 52CE 我爱测

One of the most powerful features that became available with the Microsoft Windows 2000 operating system is the Microsoft Active Directory directory service.

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.

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。