This is the code I'm using:
Dim objNDSEntries As New DirectoryEntry()
Dim objNDSEntry As DirectoryEntry
objNDSEntries.Path = "LDAP://" & txtServer.Text & "/" &
txtContext.Text
If txtUsername.Text <> "" Then
objNDSEntries.Username = txtUsername.Text
End If
If txtPassword.Text <> "" Then
objNDSEntries.Password = txtPassword.Text
End If
Try
For Each objNDSEntry In objNDSEntries.Children
Select Case objNDSEntry.SchemaClassName
Case "inetOrgPerson"
'..... doing something with the userinformation here
msgbox(objNDSEntry.NativeGUID.ToString)
End Select
Next
End Try
When executing the line:
msgbox(objNDSEntry.NativeGUID.ToString)
I'm receiving the following error message
System.Runtime.InteropServices.COMException (0x8000500D): Exception from
HRESULT: 0x8000500D.
at System.DirectoryServices.Interop.IAds.get_GUID()
at System.DirectoryServices.DirectoryEntry.get_NativeGuid()
at GetWindowsUsers.Form1.Button1_Click(Object sender, EventArgs e) in
....
Does anyone know how to get the unique GUID from a Novell User in VB.net??
Thanx
--
Dave Kearns
Novell Support Connection Volunteer
"Barry den Hertog" <barry_t...@hotmail.com> wrote in message
news:T6fia.34483$j15....@prv-forum2.provo.novell.com...