ASP.NET Authentication for Active Directory and Roles Using the ASP.NET Role Provider

In my current project, we need to authenticate users of an ASP.NET application against Active Directory. I think this can be achieved with the help of a membership provider without any problems. but we also need to manage the user roles that will be stored in the ASP role management tool.

Has anyone implemented this configuration? Does this look doable? Any tip for one or the other point?

Thanks. David

+5
source share
4 answers

! ASP.NET - , , - (\user) .

+3

ActiveDirectoryMembershipProvider, Active Directory .

MemberhipProvider, MembershipProvider, System.DirectoryServices Active Directory (ValidateUser MembershipProvider). , , .

, RoleProvider, , .

+3

, , .

WindowsTokenCachingRoleProvider. , , :

http://lvildosola.blogspot.com/2007/02/improve-performance-when-using.html

Simple and elegant.

0
source

Please take a look at this question , it looks like you are asking for almost the same thing, and my answer there should give you what you need.

Membership providers and ASP.NET roles that can be used from ASP.NET and WinForms / WPF clients as needed.

0
source

All Articles