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
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
转载于:https://www.cnblogs.com/alwaysdotnet/p/3905241.html