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
LDAP DirectoryEntry access AD User
时间: 2024-10-12 13:50:56