[iOS] Search LDAP contacts

I had a need to display and search for contacts from my LDAP server. Seems the most efficient solution is to connect my Device (Application Contact) with my LDAP server. And with the Contacts framework I will be able to fetch all Local contacts including my LDAP contacts. Is there a solution to know from the CNContact if this contact is among my LDAP Contacts or other (Local, iCloud,..)

If you have another solution how to search on my LDAP contacts do not hesitate to suggest me. OpenDirectory is not available on iOS

Thanks

[iOS] Search LDAP contacts
 
 
Q