locked
ASP.Net Active Directory Membership RRS feed

  • Question

  • User62566670 posted

    Scenario:
    We currently have various active directory groups within our domain, these are read, write, admin etc.

    Question:
    I want to use the ASP.Net membership and role management features within my web application to manage users.
    I am wondering if it is possible to do this via a AD role based system, where only users in one active directory group (admin) will have access to certian features of the application?

    I want to avoid (if possible) re-creating roles within my asp.net application.

    If this is clear, then I can provide more information if required.
    Kind Regards

    Wednesday, April 30, 2008 4:52 AM

Answers

  • User-186742165 posted

    Hi

    The .NET Framework includes the Authorization Manager (AzMan).that maintain role information in your organization using an Authorization Manager XML file or a directory-based policy store. You can hold a reference to Active Directory using AzMan and integrate with your role-based web application so it restrict user accessing pages..

    Here is the article about how to perform a role check using Authorization Manager (AzMan) and AuthorizationStoreRoleProvider with ASP.NET 2.0. Hope it helps

    http://msdn.microsoft.com/en-us/library/ms998336.aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, May 5, 2008 3:49 AM