views:

162

answers:

2

Has anyone seen any solid libraries for working with active directory (mainly user related stuff) in C# and asp.net. Am I better off intergrating with asp membership or building something customised.

I took a look at LINQtoAD but it doesnt seem to be active anymore.

+9  A: 

Is the System.DirectoryServices assembly and namespace insufficient?

Adam Robinson
I can vouch for `System.DirectoryServices`!
Sapph
It works really well, but it's painful to work with AD Directly.
Michael Stum
+1 for being the first question I've seen accepted as an answer.
Jim Schubert
@Jim: Thanks, I try to be a trailblazer ;)
Adam Robinson
+3  A: 

If you're on .NET 3.5, also check out System.DirectoryServices.AccountManagement for much simpler interface when it comes to handling principals - users, groups, computers etc.

Check out this MSDN article as a great intro into S.DS.AD:

Managing Directory Security Principals in the .NET Framework 3.5

Cheers!

marc_s