Share via


How to implement authentication with LDAP in MVC without loose Membership and Roles

Question

Friday, January 20, 2017 2:28 AM

Hello, I have an MVC 5 project that uses membership and roles.

Now i want to use LDAP to authenticate the users but i dont want loose the Membership and Roles.

Also i want to remove the self registration feature. (Users will not longer register on the WebSite, and admin will register validating the existence of this user in LDAP).

I believe this is best forum to get guidance about this. 

All replies (1)

Monday, January 23, 2017 7:22 AM

Hi msantamaria,

The following links talks about LDAP authentication in ASP.NET MVC, please take them as reference.

http://www.schiffhauer.com/mvc-5-and-active-directory-authentication/

http://www.benramey.com/2014/10/20/active-directory-authentication-in-asp-net-mvc-5-with-forms-authentication-and-group-based-authorization/

Best Regards,

Jean