1

I want to know if it possible do an application with authentication with active directory in MVC 3 with c#? Thank you

RogueSpear00
  • 619
  • 2
  • 9
  • 24
user1291774
  • 11
  • 1
  • 2

1 Answers1

4

The answer is (drumroll please)... Yes! :)

Jokes aside, you can try the ActiveDirectoryMembershipProvider, but I've found in practice it was simpler to authenticate manually since we have a complex environment, so YMMV. Here's a good place to start if you have to go that route: http://www.codeproject.com/Articles/18102/Howto-Almost-Everything-In-Active-Directory-via-C

Here's a similar question that demonstrates out-of-the-box ActiveDirectoryMembershipProvider with ASP.Net MVC: ASP.NET MVC - Authenticate users against Active Directory, but require username and password to be inputted

Community
  • 1
  • 1
mellamokb
  • 56,094
  • 12
  • 110
  • 136