SharePoint 本身没有提供访问 AD 的 API,.NET 包装了 AD 的一般操作,这是通用的方法,包括 sharepoint 程序也可以用,如果你是 .NET 3.5 建议使用 System.DirectoryServices.AccountManagement 命名空间,详细用法参考:http://msdn.microsoft.com/zh-cn/library/bb384378.aspx如果是 .NET 1.x/2.0 那么只有使用 System.DirectoryServices 命名空间中的 DirectoryEntry 和 DirectorySearcher 通用对象了,有点繁琐,参考: http://msdn.microsoft.com/zh-cn/library/ms180833.aspx