Configuring the ActiveDirectoryMembershipProvider

The other Membership provider included in ASP.NET Framework is the ActiveDirectoryMembershipProvider. You can use this provider to store user information in Active Directory or AD LDS (Active Directory Lightweight Directory Services).

AD LDS is a lightweight version of Active Directory. You can download AD LDS from the Microsoft website ( AD LDS is compatible with both Windows Vista and Windows 7.

If you want to use ASP.NET Membership with AD LDS, you need to complete the following two steps:

  1. Create an AD LDS instance and create the required classes.
  2. Configure your application to use the ActiveDirectoryMembershipProvider and connect to the ADAM instance.

The following ...

Get ASP.NET 4 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.