Re: Forms Authentication - Active Directory



On Jun 11, 10:48 am, oriol.arde...@xxxxxxxxx wrote:
Hi,

I have an asp.net 2.0 application with forms authentication. I am
authenticating the users to an Active Directory Server with
ActiveDirectoryMembershipProvider which works as expected and users
get authenticated.

What I am trying to do is to get also the role information from the
Active Directory Server with the groups where the users belong to.

Is there any way to achieve it ? Can it be done by enabling some
provider in the role manager section of the web.config file ?

any help will be appreciated, thx in advance,
ori

You would need a role provider.

WindowsTokenRoleProvider for using Active Directory groups as roles
AuthorizationStoreProvider - for Windows 2003 and ADAM
SqlRoleProvider for storing roles in SQL Server

More about WindowsTokenRoleProvider
http://msdn2.microsoft.com/en-us/library/system.web.security.windowstokenroleprovider.aspx

.



Relevant Pages

  • Re: Proximity Sensor Access to Windows That Re-Uses Door Access Control System
    ... How do you figure that a question asking about windows ... authentication - which is a service performed by a Windows 200x ... Active Directory Server - is irrelevant? ...
    (microsoft.public.windows.server.general)
  • Re: I have successfully configured LDAP auth, why then does it still depend on /etc/passwd?
    ... >> I have set up LDAP authentication for my server. ... >> authenticating against a Active Directory Server. ... >> because I can log in using my Active Directory username and password. ...
    (comp.os.linux.security)
  • Re: Forms Authentication - Active Directory
    ... The WindowsTokenRoleProvider only works with windows auth - not forms. ... Ryan an me have written an ActiveDirectoryRoleProvider - which seems to work for most people... ... Active Directory Server with the groups where the users belong to. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: LDAP?
    ... Your suggestion on integrating Active Directory and MS Access sounds good. ... >>If you mean you want to try and integrate it with Access security, ... > adopted to use any sort of authentication method you choose, ... then launches the real database and logs into the Access ...
    (microsoft.public.access.security)
  • Re: Please Help
    ... controller that handles authentication for the computers in the domain. ... Logon and logoff are a little difficult with Active Directory. ... Use the Event logs. ...
    (microsoft.public.windows.server.active_directory)