This claims provider connects SharePoint 2013 and 2016 with Active Directory and LDAP servers to provide a great search experience in the people picker with federated authentication (typically ADFS)
C# ASP Gherkin
Switch branches/tags
Clone or download
Yvand Publish v10 (#57)
* Removed use of elevation of privileges

* Made admin pages easy to reuse

* Making admin pages easy to reuse

* Implementing persisted object for custom LDAPCP

* Improved logging

* Updated names and comments

* Updated property names

* BREAKING CHANGE: Redesigning claim types configuration list, which breaks compatibility with persisted object in previous versions

* Improving implementation

* Fixed sync of _ClaimTypesCollection

* Working on it

* Changed method names

* Abstracting SPClaimEntityTypes to hide it

* Various improvements

* Improved code

* Improvements

* Improved claim types config page

* Improved administration pages

* Renamed some properties

* Improved filtering of results, renamed admin page and other improvements

* Optimizations

* Fixed property SupportsWildcard and other improvements

* Added property EntityDisplayTextPrefix, improved initialization, logging and minor optimization

* Updated augmentation to handle multiple group claim types

* Improved augmentation

* Fixed update issue in ClaimTypeConfigCollection

* Fixed another update issue in ClaimTypeConfigCollection

* Added claim type PrimaryGroupSid in default config

* Updated URL

* Limits number of results returned by LDAP and updated logo

* Added verifications when calling LDAPCPConfig.Update

* Improved augmentation

* Updated logging and properties

* Added properties

* Updated text

* Updated properties and version
Latest commit 152abef Jun 12, 2018
Failed to load latest commit information.
LDAPCP Publish v10 (#57) Jun 12, 2018
.gitattributes v5 Jul 6, 2016
.gitignore Initial commit Jul 6, 2016
LDAPCP.sln Publish v10 (#57) Jun 12, 2018
LICENSE v5 Jul 6, 2016 Updated README Jun 30, 2017

LDAPCP for SharePoint 2013 and 2016

Please visit to download LDAPCP and find documentation.

People picker with LDAPCP

This project was originally hosted on Codeplex but I moved it here since Codeplex is shutting down.


  • Easy to configure with administration pages added in Central administration > Security.
  • Queries multiple servers in parallel (multi-threaded connections).
  • Populates properties (e.g. email, SIP, display name) upon permission creation.
  • Supports rehydration for provider-hosted add-ins.
  • Supports dynamics tokens "{domain}" and "{fqdn}" to add domain information on permissions to create.
  • Implements SharePoint logging infrastructure and logs messages in Area/Product "LDAPCP".
  • Ensures thread safety.
  • Implements augmentation to add group membership to security tokens.

Customization capabilities

  • Customize list of claim types, and their mapping with LDAP objects.
  • Enable/disable augmentation globally or per LDAP connection.
  • Customize display of permissions.
  • Customize LDAP filter per claim type, e.g. to only return users member of a specific security group.
  • Set a keyword to bypass LDAP lookup. e.g. input "" directly creates permission "" on claim type set for this.
  • Set a prefix to add to LDAP results, e.g. add "domain" to groups returned by LDAP.
  • Hide disabled users and distribution lists.
  • Developers can easily do a lot more by inheriting base class.