var username = "admin-test";var password = "admin-test";var domain = "domain name";var url = "urlname";var credentials = new System.Net.NetworkCredential(username, password, domain);var serverId = new LdapDirectoryIdentifier(url,399);var connection =...