DirectoryEntry root = new DirectoryEntry("LDAP://dc=me,dc=com");
DirectorySearcher searcher = new DirectorySearcher(root);
searcher.Filter ="(&(objectCategory=group)(memberOf=cn=mygroup));
My code above works fine for finding groups within groups, but does not work for Organisational groups.
What am I going wrong?
I need to find organization units one hierarchy level at a time.
Certified Geek