开发者

How to instantiate a DirectoryEntry object with a domain?

开发者 https://www.devze.com 2022-12-26 09:38 出处:网络
I have a list of System.DirectoryServices.A开发者_JAVA技巧ctiveDirectory.Domain objects gotten via this method.How do I know instantiate a DirectoryEntry object with this Domain object?The syntax seem

I have a list of System.DirectoryServices.A开发者_JAVA技巧ctiveDirectory.Domain objects gotten via this method. How do I know instantiate a DirectoryEntry object with this Domain object? The syntax seems to escape me.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消