且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在asp.net的窗口身份验证应用程序中获取ADGroup用户的详细信息?

更新时间:2023-12-04 09:47:58

I suggest you start by reading about System.DirectoryServices[^] namespace first. This namespace contains the DirectoryEntry[^] class that you will be using in accessing the properties of the user objects of your Active Directory. The following are articles that you can use to start coding using the above-mentioned class. They have code samples too.
Querying Active Directory using .NET classes and LDAP queries[^]
Enumerating Active Directory Objects using C#[^]

Once you get familiar with it, you may also want to read Syed''s article[^] about a wrapper API for AD services. It''s just another way(probably easier) of doing things. Good luck. :)