Where is System.DirectoryServices?

  • Thread starter Thread starter Lorenz Hölscher
  • Start date Start date
L

Lorenz Hölscher

Hello everyone,

I need to connect to a Web Service with VS2008Pro using VB. Because
the access has changed from a general password for all users into a
Kerberos/Spengo authentification I looked around for some code.

Many of the examples use an object type called "DirectoryEntry" which
is obviously part of the System.DirectoryServices. If I'm not totally
wrong I need to write

Imports System.DirectoryServices

before my "Public Class XXX" line. But there is no such System class.
What ist my error?

Did anyone find some VB examples for connecting to a Web Service with
Kerberos?

thanks, Lorenz
 
Hello everyone,

I need to connect to a Web Service with VS2008Pro using VB. Because
the access has changed from a general password for all users into a
Kerberos/Spengo authentification I looked around for some code.

Many of the examples use an object type called "DirectoryEntry" which
is obviously part of the System.DirectoryServices. If I'm not totally
wrong I need to write

Imports System.DirectoryServices

before my "Public Class XXX" line. But there is no such System class.
What ist my error?

Did anyone find some VB examples for connecting to a Web Service with
Kerberos?

thanks, Lorenz

Hi Lorenz,
I think System.DirectoryServices requires an manual reference to
System.DirectoryServices.dll which can be done just by right clicking
your project in solution explorer -> Add Reference -> in .NET Tab,
select "System.DirectoryServices".

Now, you should be able to import System.DirectoryServices namespace.

Hope this helps,

Onur Güzel
 
Back
Top