Search code examples
c#ldaplinq-to-ldap

C# Query Language for building LDAP queries


does anyone know of any strongly typed language for building LDAP queries in C#? I'd like to move away from

(&(|(objectClass=user)(objectClass=group)(objectClass=computer)(objectClass=contact))((objectGUID={0})))

and preferably have a fluid api for building logical queries.


Solution

  • Well you can try Linq to LDAP

    here you have a tutorial