使用“SQL”查询 Active Directory?
我只是想知道是否有人知道或制作了 Active Directory 的包装器以便能够在 .net 中轻松查询它? 有点像“LINQ-to-ActiveDirectory”或某些 SQL 方言,即能够执行“SELECT DISTINCT(DEPARTMENT) FROM /Users/SomeOU/AnotherOU”或“SELECT user FROM domain”或其他操作。
据我所知,可以以“SQLesque”方式查询WMI和IIS,我只是想知道Active Directory是否也可以进行类似的操作,而无需学习另一种查询语言(LDAP)?
I just wonder if anyone knows or made a wrapper around Active Directory to be able to easily query it in .net? Kind of like "LINQ-to-ActiveDirectory" or some SQL Dialect, i.e. to be able to do "SELECT DISTINCT(DEPARTMENT) FROM /Users/SomeOU/AnotherOU" or "SELECT user FROM domain" or whatever.
As far as I know, it is possible to query WMI and IIS in a "SQLesque" way, i just wonder if something similar is possible for Active Directory as well, without having to learn yet another Query Language (LDAP)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
http://www.codeplex.com/LINQtoAD
示例(来自网站):
http://www.codeplex.com/LINQtoAD
Sample (from the site):