Yvand / LDAPCP

A claims provider to connect SharePoint Subscription / 2019 / 2016 with Active Directory and LDAP directories in federated authentication
https://ldapcp.com
Apache License 2.0
57 stars 25 forks source link

LDAP Filter for Two Classes #194

Closed weswilliams901 closed 6 months ago

weswilliams901 commented 1 year ago

We have two classes, User and Contact. Long story we have to find users and contacts in our AD. With LDAPCP, is possible to filter for both using one Claim Provider, or we can only filter for one or the other?

Yvand commented 1 year ago

I assume you want to search both classes User and Contact for the identity claim type permission. If so, it should be possible if you do the following:

Please let me know if it does what you need

weswilliams901 commented 11 months ago

That work great. Thanks so much for that.

But we see the display name shows when searching but when the user is selected, it is still displaying the lan id. See the attachment. Is there a way to have jsmith look like Smith, Joe. (FYI- Joe Smith is a windows user. group )

Yvand commented 11 months ago

The short answer is that this is the job of the user profile service to sync the display name to the sites. With that said, claims providers have a chance to set the display name if, and only if, the user is added for the very 1st time to the site collection. If user is re-added after it was deleted from a site, it won't work

github-actions[bot] commented 8 months ago

Stale issue message