Create Your Own Custom Active Directory Membership Provider 14. October 2014 Dave Knipper Active Directory, ASP.NET, C# (1) Here's how to create your own custom Active Directory Membership provider. While the out-of-the-box Microsoft Active Directory provider works fine, the following provider logic provides somewhat of a blank slate to work with. I recently worked on a project that required all sorts of Active Directory, SQL Server, and other custom provider logic. We basically started with what is below, and then filled in the some of the areas with custom logic. If you're going to use the following as-is, you may as well just use the out-of-the-box Active Directory membership. Use the following as a start. 1. Create some basic utility methods. These aren't really required, but may help with issue diagnostics.