By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,326 Members | 838 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,326 IT Pros & Developers. It's quick & easy.

query ldap directory

P: n/a
I want to write a program that will query an ldap directory. can I use adsi
or ado to do that, If yes how ?

tx
--
h2so4
Nov 20 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
There is a System.DirectoryServices .NET DLL which you could add a
reference to. This deals with Active Directory, is this what you are looking
for ?

Regards - OHM

h2so4 wrote:
I want to write a program that will query an ldap directory. can I
use adsi or ado to do that, If yes how ?

tx


--
Best Regards - OHM

O_H_M{at}BTInternet{dot}com
Nov 20 '05 #2

P: n/a
hi OHM#

What I want to do is to access data in another directory than AD, I would
like to know if this is possible via ADSI or ADO or any other .net DLL.

regards - h2so4
"One Handed Man [ OHM# ]" <O_H_M{at}BTInternet{dot}com> wrote
There is a System.DirectoryServices .NET DLL which you could add a
reference to. This deals with Active Directory, is this what you are looking for ?

Regards - OHM

h2so4 wrote:
I want to write a program that will query an ldap directory. can I
use adsi or ado to do that, If yes how ?

tx

Nov 20 '05 #3

P: n/a
If you are referring to Active Directory Service Interfaces Overview (
ADSI ) this allows programmers to access Active Directory objects. You need
to add a reference to the Systm.DirectoryServices DLL in your project
window. Then you can access the object model from this. It's not something I
have had to do, but I kow its there. Other than that I'm not sure what you
are trying to acheive.

As far as ADO is concerned ( ADO.NET ), in the NET framework. This is for
database connectivity and data manipulation. Is this what you actually want
?

Regards - OHM

h2so4 wrote:
hi OHM#

What I want to do is to access data in another directory than AD, I
would like to know if this is possible via ADSI or ADO or any other
.net DLL.

regards - h2so4
"One Handed Man [ OHM# ]" <O_H_M{at}BTInternet{dot}com> wrote
There is a System.DirectoryServices .NET DLL which you could add a
reference to. This deals with Active Directory, is this what you are
looking for ?

Regards - OHM

h2so4 wrote:
I want to write a program that will query an ldap directory. can I
use adsi or ado to do that, If yes how ?

tx


--
Best Regards - OHM

O_H_M{at}BTInternet{dot}com
Nov 20 '05 #4

P: n/a
let's reformulate my request :

I am looking for an ldap object that could allow me to issue any ldap
request against any type of ldapV3 compliant directories. This using VB. I
am wondering if I can do that with ADO which knows about an "active
directory provider" which allows to issue ldap request. But I suspect I need
another provider, something like "generic ldap provider". Any suggestion is
welcome.

Thanks

"One Handed Man [ OHM# ]" <O_H_M{at}BTInternet{dot}com> wrote in message
news:eF*************@TK2MSFTNGP12.phx.gbl...
If you are referring to Active Directory Service Interfaces Overview (
ADSI ) this allows programmers to access Active Directory objects. You need to add a reference to the Systm.DirectoryServices DLL in your project
window. Then you can access the object model from this. It's not something I have had to do, but I kow its there. Other than that I'm not sure what you
are trying to acheive.

As far as ADO is concerned ( ADO.NET ), in the NET framework. This is for
database connectivity and data manipulation. Is this what you actually want ?

Regards - OHM

h2so4 wrote:
hi OHM#

What I want to do is to access data in another directory than AD, I
would like to know if this is possible via ADSI or ADO or any other
.net DLL.

regards - h2so4
"One Handed Man [ OHM# ]" <O_H_M{at}BTInternet{dot}com> wrote
There is a System.DirectoryServices .NET DLL which you could add a
reference to. This deals with Active Directory, is this what you are
looking for ?

Regards - OHM

h2so4 wrote:
I want to write a program that will query an ldap directory. can I
use adsi or ado to do that, If yes how ?

tx


--
Best Regards - OHM

O_H_M{at}BTInternet{dot}com

Nov 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.