简体   繁体   中英

Can i do Authentication with Active Directory in C# with MVC 3?

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM