Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Can you give me examples of an LDAP connection string for Active Directory?
- LDAP://[ServerName]/dc=contoso,dc=com
- LDAP://[ServerName]/dc=test,/dc=contoso,dc=com
- DirectoryEntry de = new DirectoryEntry("LDAP://[ServerName]/dc=test,/dc=contoso,dc=com");
- de.Username = "username";
- de.Password = "password";
Add Comment
Please, Sign In to add comment