Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 May : Domain components

www.cryer.info
Managed Newsgroup Archive

Domain components

Subject:Domain components
Posted by:"Bob Devine" (bobd@nospam.com)
Date:30 May 2007 03:36:14

Hi

I've been using Colin Wilson's GetDomainName function to get the name
of an Active Directory domain, but I need to get _all_ domain
components for use in an LDAP query (e.g. dc=MyDomain, dc=com). Anyone
know how to retrieve all components (which could be co, uk, local etc)?

Many thanks,

Bob

Replies:

www.cryer.info
Managed Newsgroup Archive