ADSI库/控制.NET [英] ADSI Library/Control for .NET

查看:163
本文介绍了ADSI库/控制.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一个ADSI库在那里为.NET / C#?我已经能够找到位和code片做了一些工作,但没有COM prehensive。

Is there an ADSI Library out there for .NET/C#? I have been able to find bits and pieces of code to do some tasks but nothing comprehensive.

我在寻找,我只需拖放到我的code和运行,而无需做太多的定制库?我想的东西沿 MEMM的Excel的

I'm looking for a library that I can just drop into my code and run without having to do too much customization? I'm thinking something along the lines of MEMM for Excel

感谢。

推荐答案

有关.NET 1.x中,有真的只有的System.DirectoryServices 命名空间 - 多不了多少,不幸。这是你的基本的DirectoryEntry DirectorySearcher从类,仅此而已......

For .NET 1.x, there's really only the System.DirectoryServices namespace - not much more, unfortunately. That's your basic DirectoryEntry and DirectorySearcher classes, and that's about it.....

.NET 2.0中添加了 S.DS.ActiveDirectory 命名空间来处理结构对象,如林,域,等等轻松了许多。看看这个MSDN文章新方法来管理使用.NET Framework 2.0 如何利用这些新功能。

.NET 2.0 added the S.DS.ActiveDirectory namespace to handle structural objects like forests, domains, and so forth a lot easier. Check out this MSDN article New Ways to Manage Active Directory using the .NET Framework 2.0 on how to leverage those new capabilities.

有关.NET 3.5及以上,有一个新的 S.DS.AccountManagement 的命名空间,从而使通过委托人(用户,组,计算机)的工作轻松了许多。同样,对于一个优秀的介绍,请阅读MSDN文章在.NET管理目录安全主体框架3.5

For .NET 3.5 and up, there's a new S.DS.AccountManagement namespace which makes working with principals (users, groups, computers) a lot easier. Again, for an excellent intro, read this MSDN article Managing Directory Security Principals in the .NET Framework 3.5.

希望有点帮助!

马克·

这篇关于ADSI库/控制.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆