ASystems.DirectoryServicesProviders 1.0.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package ASystems.DirectoryServicesProviders --version 1.0.4                
NuGet\Install-Package ASystems.DirectoryServicesProviders -Version 1.0.4                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ASystems.DirectoryServicesProviders" Version="1.0.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ASystems.DirectoryServicesProviders --version 1.0.4                
#r "nuget: ASystems.DirectoryServicesProviders, 1.0.4"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ASystems.DirectoryServicesProviders as a Cake Addin
#addin nuget:?package=ASystems.DirectoryServicesProviders&version=1.0.4

// Install ASystems.DirectoryServicesProviders as a Cake Tool
#tool nuget:?package=ASystems.DirectoryServicesProviders&version=1.0.4                

This package include a custom implementation of ActiveDirectoryMembershipProvider which allowes for caching and return of displayname.
It also includes a RoleProvider leveraging LDAP group as roles (lacks support for adding and deleting roles).

Configuration for the provider, read https://msdn.microsoft.com/en-us/library/system.web.security.activedirectorymembershipprovider.aspx for more info

<add name="DirectoryServicesMembershipProvider"
  type="ASystems.DirectoryServicesProviders.DirectoryServicesMembershipProvider, ASystems.DirectoryServicesProviders"
  connectionStringName="ADService"
  connectionUsername="UserWithAppropriateRights" <!-- remove for apppool credentials -->
  connectionPassword="PasswordForUser" <!-- remove for apppool credentials -->
  connectionProtection="Secure" <-- Secure, None -->
  cache="15" <!-- minutes to cache, 0 to disable caching -->
  allowedRoles="" <!-- comma separated string with groups, or name of appsetting containing the comma separated groups -->
  enablePasswordReset="true"
  enableSearchMethods="true"
  requiresQuestionAndAnswer="true"
  applicationName="/"
  description="Default AD connection"
  requiresUniqueEmail="false"
  clientSearchTimeout="30"
  serverSearchTimeout="30"
  attributeMapPasswordQuestion="department"
  attributeMapPasswordAnswer="division"
  attributeMapFailedPasswordAnswerCount="singleIntAttribute"
  attributeMapFailedPasswordAnswerTime="singleLargeIntAttribute"
  attributeMapFailedPasswordAnswerLockoutTime="singleLargeIntAttribute"
  attributeMapEmail = "mail"
  attributeMapUsername = "userPrincipalName" <!-- userPrincipalName, sAMAccountName -->
  additionalAttributes = "" <!-- comma separated string with attributes that are included in search results -->
  maxInvalidPasswordAttempts = "5"
  mergeWith="NameOfMembershipProvider" <!-- use to combine users from multiple providers -->
  mergeStyle="After" <!-- After, Before -->
  passwordAttemptWindow = "10"
  passwordAnswerAttemptLockoutDuration = "30"
  minRequiredPasswordLength="7"
  minRequiredNonalphanumericCharacters="1"
  passwordStrengthRegularExpression="@\"(?=.{6,})(?=(.*\d){1,})(?=(.*\W){1,})""
/>

<add name="DirectoryServicesRoleProvider"
  type="ASystems.DirectoryServicesProviders.DirectoryServicesRoleProvider, ASystems.DirectoryServicesProviders"
  connectionStringName="ADService"
  connectionUsername="UserWithAppropriateRights" <!-- remove for apppool credentials -->
  connectionPassword="PasswordForUser" <!-- remove for apppool credentials -->
  connectionProtection="Secure" <-- Secure, None -->
  cache="15" <!-- minutes to cache, 0 to disable caching -->
  useOrganisationalUnits="false" <!-- use organisational units as role instead of groups -->
  mergeWith="NameOfRoleProvider" <!-- use to combine roles from multiple providers -->
  mergeStyle="After" <!-- After, Before, Mixed -->
  applicationName="/"
  attributeMapUsername = "userPrincipalName" <!-- userPrincipalName, sAMAccountName -->
/>

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.10 9,742 1/30/2015
1.0.8 1,913 1/23/2015
1.0.7 1,790 1/16/2015
1.0.6 1,752 1/16/2015
1.0.4 2,079 1/15/2015

Updated for AD-LDS (AD-LDS support for creating and removing roles). Updated for fetching custom attributes into member object