path with two OU's RRS feed

  • Question

  • User501805745 posted

    I need to go two deep for an OU. For example, my users are in an OU called TestA which had OU's under it. I need to to get to TESTa/USERSb OU. How to do I do that?



    Monday, September 18, 2006 10:29 AM

All replies

  • User1297008538 posted
    The DirectorySearcher class will do a Subtree search by default (which is what you want). If you want to change this modify the SearchScope property.
    Tuesday, September 19, 2006 11:12 PM