I am at the beginning of writing an ASP.NET MVC application that will use Active Directory authentication.
I don't want the users to have to log in I want the ability to authenticate the user from their domain credentials and assign them roles.
I want to be able to assign roles to AD Users and AD groups using some kind of Admin views.
Are there any resources that deal with this?
Most importantly I want to be able to link the domain credentials with a User table in my application (it is essentially a Helpdesk Ticket application). How can I successfully link a user in my application DB to a Windows Authenticated account?
Thanks
Please ask for clarification if this does not make sense.
MVC 4 Intranet Authentication with Custom Roles
This seems to be a good resource, but any advice would be great
Windows Authenticationwhen creating the project, it'll handle about all of that for youHttpContext.Current.User.Identity.Namewhich gives you the name of authenticated user.