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