IMPORTANT! Active Directory Provider 1.0.0.0 should be used with EPiServer CMS 5 R1.
Compile the Active Directory role provider
This file contains a Source folder with the following files:
File name |
Description |
ActiveDirectoryRoleProvider.cs |
The actual role provider implementation. |
DirectoryDataFactory.cs |
Abstract base class for accessing a directory service. |
AdsiDataFactory.cs |
An implementation of DirectoryDataFactory that uses ADSI to access Active Directory. |
DirectoryData.cs |
Data class that abstracts a directory service entry such as a user or a group. |
Include all these files in your current solution, for example if you are developing your EPiServer site based on the Public templates package, do the following:
- Open the EPiServer.Templates.Public.csproj project file with Microsoft Visual Studio.
- If you do not have references to the System.DirectoryServices assembly already set up in your project, you will need to add it.
- Create a new folder named “Security” in the project.
- Add the four files listed above to the Security folder.
- Build the solution.