Directory Structure ?

A

Arvind P Rangan

Hi,
How do u interpret a Active Directory Structure into code format.
Like i have a ADS Structrue
like this
main.domain.com
+ AB
+ UB
+ AC

All my information are in AC
How do u interpret this in code format.
we normally type
LDAP:\\domain\ou=ab\ou=ub\ou=ac, dc=main,dc=domain,dc=com;
Can some body help me give me simple code format for the above domain
structure for asp.net or any code.
LDAP format pls
ARvind.
 
J

Jody Flett

it shoul;d be in the format

LDAP://ou=ac,ou=ub,ou=ab,dc=main,dc=domain,dc=com

Ie. to access a user in VBS it would be

Set objUser =
GetObject("LDAP://cn=User1,ou=ac,ou=ub,ou=ab,dc=main,dc=domain,dc=com")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top