How to do almost everything In active directory via C#

时间:2015-03-30 09:56:27
【文件属性】:

文件名称:How to do almost everything In active directory via C#

文件大小:411KB

文件格式:PDF

更新时间:2015-03-30 09:56:27

活动目录 C# 源码

When it comes to programmatically accessing Microsoft's Active Directory a lot of people seem to have quite a difficult time tying all the pieces together to accomplish exactly what they want to. There are so many technologies available for communicating with LDAP that many programmers end up with a mix between COM+ ADSI calls and .NET class calls mixed into their code. ADSI code is so difficult to understand and follow that the creator of that code usually owns it for the entirety of it's lifecycle since no one else wants to support it. This article attempts to tie together the most commonly used elements involved in Active Directory Management in the simplest, most clean manner possible. I interact with Active Directory in nearly all of my applications (web & forms) and I have had to solve a lot of integration issues for many customers. When I was starting out with this technology I had a lot of growing pains so this is an attempt to help those programmers who may have a need to interact with the Directory but do not want to have to become experts in the issue. However, certain rudimentary knowledge and concepts are required in order to utilize the code. You must be familiar with such terms as: distinguishedName, ldap paths, fully qualified domain names, object attributes (single string & multi-string), and general knowledge of ldap schemas.


网友评论

  • 好吧,就是codeproject的内容,直接复制粘贴一下而已,还收积分,不厚道。 http://www.codeproject.com/Articles/18102/Howto-Almost-Everything-In-Active-Directory-via-C