Tapping into LDAP

Last post 11-02-2007 2:21 AM by XiaoYong Dai – MSFT. 1 replies.

Sort Posts:

  • Tapping into LDAP

    10-31-2007, 12:09 PM
    • Loading...
    • HCBMRDD
    • Joined on 06-22-2006, 3:11 PM
    • Posts 84

    I'd like to explorer the possibility of using our current LDAP for an administration site. Ideally I'd like the user to visit the site. The site authenticates the user based on LDAP. Based on the user's role, I'd like the sitemap to display only areas they can access.

     Is all of this possible? Is there a good resource on setting this up?

     Thanks!

  • Re: Tapping into LDAP

    11-02-2007, 2:21 AM
    Answer

    Hi

    Basically, you could authenticate user account against ActiveDirectory in ASP.NET 2.0 using the ActiveDirectoryMembership provider. If you want to enable Role-Based securitytrimming in web application, please specify a role provider in web.config file which could retrieve role information for current user from ActiveDirectory. This article describes how to implement the feature

    http://msdn2.microsoft.com/en-us/library/ms998360.aspx

    http://forums.asp.net/p/1084436/1611312.aspx

    Best Regards
    XiaoYong Dai
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Page 1 of 1 (2 items)
Microsoft Communities
Page view counter