Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string server = "dcxd01.dev.inwkx.net";
- string userName = "svc.dev.adwriter";
- string password = "doIESISOlTB14zOcBesh";
- //string domain = "CN=Schema,CN=Configuration,DC=inwkx,DC=net";
- string path = "LDAP://" + server;
- DirectoryEntry entry = new DirectoryEntry(path,userName,password);
- entry.AuthenticationType = AuthenticationTypes.Secure;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement