DirectoryServices and ObjectClass property

  • Thread starter Thread starter Jeroen
  • Start date Start date
J

Jeroen

Working with the DirectoryServices in C#, I want to build a tree of
users. The tree control will have child nodes with user sam names, and
expandable nodes for any group the current thread may view.

The group however, may be many things. I'm quite new to LDAP and
DirectoryServices, but I can imagine there are domains, subdomains,
usergroups, and so on.

This leaves me with 2 questions, to which pages found with search
engines thus far couldn't provide me with an answer:

1. Any tips on the above, or links to tutorials on the way groups are
structured?

2. Although I found the 'ObjectClass' parameter is the one I need to
search the directory on, I could nowhere find a list of possible
values this parameter may have (just examples, "user", etc).

Can anyone point me in a helpful direction?
 
Jeroen said:
Working with the DirectoryServices in C#, I want to build a tree of
users. The tree control will have child nodes with user sam names, and
expandable nodes for any group the current thread may view.

The group however, may be many things. I'm quite new to LDAP and
DirectoryServices, but I can imagine there are domains, subdomains,
usergroups, and so on.

This leaves me with 2 questions, to which pages found with search
engines thus far couldn't provide me with an answer:

1. Any tips on the above, or links to tutorials on the way groups are
structured?

2. Although I found the 'ObjectClass' parameter is the one I need to
search the directory on, I could nowhere find a list of possible
values this parameter may have (just examples, "user", etc).

Can anyone point me in a helpful direction?

Start here:

http://msdn2.microsoft.com/en-us/library/aa772142.aspx

and
http://msdn2.microsoft.com/en-us/library/aa772142.aspx

Willy.
 
Start here:

http://msdn2.microsoft.com/en-us/library/aa772142.aspx
andhttp://msdn2.microsoft.com/en-us/library/aa772142.aspx

Willy.

Thanks for the response. However, I already found those resources but
they do not answer my questions.

Perhaps it's better if I describe the practical problem I'm facing. We
want the admin in our software to be able to link program logins to
active directory users. If we just list all users through a simple
search through the directoryservices, we get an extremely large list
in large companies. This is why I'd like to present the admin the
users as they are placed in the actual tree.
 
Jeroen said:
Thanks for the response. However, I already found those resources but
they do not answer my questions.

Perhaps it's better if I describe the practical problem I'm facing. We
want the admin in our software to be able to link program logins to
active directory users. If we just list all users through a simple
search through the directoryservices, we get an extremely large list
in large companies. This is why I'd like to present the admin the
users as they are placed in the actual tree.


Don't know exactly what you mean with the "actual tree", mind to explain any
further?.

Willy.
 
Back
Top