views:

21

answers:

1

I have a list of System.DirectoryServices.ActiveDirectory.Domain objects gotten via this method. How do I know instantiate a DirectoryEntry object with this Domain object? The syntax seems to escape me.

+1  A: 

Are you looking for the Domain.GetDirectoryEntry method? This will give you a DirectoryEntry that represents the root of the domain.

Aaronaught
You are a freaking genius. I can't believe I didn't see that. Thanks.
AngryHacker