LDAP DirectoryEntry access AD User

There is a key parameter for DirectoryEntry ctor()

It is the path, we have to find the root path by check AD User screen.

Like

OU=SYG,OU=CN,OU=Accor-Services,DC=asnet,DC=accorservices,DC=net

Always.Net
原文地址:https://www.cnblogs.com/alwaysdotnet/p/3905241.html