http://www.niu.edu/its/www/sharedlib...mmandline.html
First of all I'm trying to convert this to VB.NET and I'm having trouble.
I don't understand how I should conver
LDAPResult lr = LDAPAuthenticator.Authenticate(ldapServer, ldapPort, username, password);
to VB.NET
When I check out the LDAPAuthenticator info,
http://www.niu.edu/its/www/sharedlib...api/index.html
It says that
[Visual Basic]
NotInheritable Public Class LDAPAuthenticator
I don't understand what that means and what I can do with it.
----
My code currently looks like this.
Expand|Select|Wrap|Line Numbers
- Partial Class _Default
- Inherits System.Web.UI.Page
- Dim ldapServer As String
- Dim ldapPort As Integer
- Dim username As String
- Dim password As String
- Public NotInheritable Class LDAPAuthenticator
- End Class
- Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
- ldapPort = 636
- username = txtID.Text
- password = txtPassword.Text
- ldapServer = "ldap.niu.edu"
- End Sub
- End Class
---
Thanks.