DirectoryEntry x = new DirectoryEntry(LDAP://myservername,"username","password",System.DirectoryServices.AuthenticationTypes.ServerBind);