People Picker Filtering Based on LDAP Attribute per Site Collection

Oct 19, 2016 at 10:13 PM
In AD I have OUs setup that correspond to clients (the OU is a GUID). In SharePoint, site collections are created for projects for a client. Can I use LDAPCP so that the people picker in a site (which corresponds to a particular OU - GUID in AD) filters and only displays users from that particular OU? Is it possible to do this if I have an LDAP attribute that contains the OU GUID and maybe a list item in the SharePoint site that also contains the OU GUID?
Coordinator
Oct 21, 2016 at 2:42 PM
In theory LDAPCP allows you to set a different LDAP path depending on the site collection.
Unfortunately SharePoint does not provide a reliable information about the current site collection, and most of the time it passes the URL of the root site collection instead of the URL of the current one.
For this reason, your scenario can't be achieved.