How to list all forest using ADSI in C#? RRS feed

  • Question

  • User-1718295297 posted

    Hi, I'm doing some feature to allow user authenticate using windows identity. So before it need to allow user select from all exists domains then users within domain.

    After some study I can list all domains within a forest using WinNT provider of ADSI. But now I'm stuck at how to list all domains across forests boundary, like 'Location' dialog pop up in 'Select Users, Computers, or Groups' dialog.

    And help are welcome, thanks in advance!

    Tuesday, February 23, 2010 8:49 PM