} // End Function GetGroupList private void btnAuth_Click(object sender, System.EventArgs e) { string usr = this.txtUserName.Text; string password = this.txtPassword.Text; MsgBox(LdapTools.IsAuthenticated(this.m_RootDn, usr, password)); } // End Sub btnAuth_Click