November 13, 2008

LDAP Search Filter

Search Tip: To retrieve all the users from a Domain who belong to a specific group use this query.

(&(objectclass=person)(memberOf=fulldn))

For two groups:
(&(objectclass=person)(|(memberOf=fulldn1)(memberOf=fulldn2)))

Use the same tip for multiple groups.

1 comment:

  1. Hi Esseve, Hope you remember me. I find you blog is very interesting and inspirational.

    ReplyDelete

This is how we learn. Say it right away ...