http://www.agnisoft.com/adsi/Conf2000/3132.htm
There was also an article in Delphi Informant by Simon
Murrell, but my link seems to be broken - you can get it
from Google, though:
http://www.google.com/search?q=cache:www.delphiinformant.co
m/features/2000/05/di200005sm_f/di200005sm_f.asp+simon+murr
ell+adsi&hl=en
--
Deborah Pate (TeamB) http://delphi-jedi.org
Use Borland servers; TeamB don't see posts via ISPs
http://www.borland.com/newsgroups/genl_faqs.html
No, it's not broken - Delphi Informant has locked down access to its
articles on the web site to their magazine subscribers...... a pity in
some ways, but from a business point of view quite understandable.
Marc
------------------------------------------------------------------------
Marc Scheuner Software Engineer
FastLane Technologies Inc. Halifax, Nova Scotia, Canada
Email: msch...@fastlane.com http://www.fastlane.com
Ivan
"Marc Scheuner" <msch...@no.spam.for.me.ca> wrote in message
news:i81kbt0bkgqlfdc6u...@4ax.com...
We're using ADSI from Delphi all the time, and it works like a charm -
using ADO slows down things considerably.
Yes, you need to understand how to USE COM, but that's something every
serious Delphi / WIndows developer must understand these days ;-)
"Marc Scheuner" <msch...@no.spam.for.me.ca> schrieb im Newsbeitrag
news:rdjmbtcoi6vrnnj4a...@4ax.com...
Sure - if you have the *FULL* user's LDAP name, that is.
<LDAP://MyServer.MyCompany.Com/CN=John Doe,OU=R&D,DC=MyCompany,DC=Com>
In that case, he's in the OU called:
OU=R&D or in full LDAP:
<LDAP://MyServer.MyCompany.Com/OU=R&D,DC=MyCompany,DC=Com>
If you have only its first/last name (John Doe), then you'd have to do
a search on the whole directory - using IDirectorySearch or something
like that.