PC Review


Reply
Thread Tools Rate Thread

DirectoryServices and ObjectClass property

 
 
Jeroen
Guest
Posts: n/a
 
      21st May 2007
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?

 
Reply With Quote
 
 
 
 
Willy Denoyette [MVP]
Guest
Posts: n/a
 
      21st May 2007
"Jeroen" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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.

 
Reply With Quote
 
Jeroen
Guest
Posts: n/a
 
      22nd May 2007
On 21 mei, 21:58, "Willy Denoyette [MVP]" <willy.denoye...@telenet.be>
wrote:
> "Jeroen" <mercu...@gmail.com> wrote in message
> > Can anyone point me in a helpful direction?

>
> 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.

 
Reply With Quote
 
Peter Bradley
Guest
Posts: n/a
 
      22nd May 2007
Try this:

http://www.amazon.co.uk/s/ref=nb_ss_...0&Go.y=0&Go=Go

You'll need it! Active Directory programming does you head in.


Peter

"Jeroen" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On 21 mei, 21:58, "Willy Denoyette [MVP]" <willy.denoye...@telenet.be>
> wrote:
>> "Jeroen" <mercu...@gmail.com> wrote in message
>> > Can anyone point me in a helpful direction?

>>
>> 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.
>



 
Reply With Quote
 
Willy Denoyette [MVP]
Guest
Posts: n/a
 
      22nd May 2007
"Jeroen" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On 21 mei, 21:58, "Willy Denoyette [MVP]" <willy.denoye...@telenet.be>
> wrote:
>> "Jeroen" <mercu...@gmail.com> wrote in message
>> > Can anyone point me in a helpful direction?

>>
>> 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.
>



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

Willy.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DirectoryServices Property Update Davie Microsoft Dot NET 1 5th Jul 2006 08:43 PM
DirectoryServices Update AD property Davie Microsoft ASP .NET 2 1st Jun 2006 08:24 AM
System.DirectoryServices ProxyAddresses property =?Utf-8?B?Qm9uaQ==?= Microsoft Dot NET Framework 2 20th Jul 2005 06:30 AM
Cannot Single out one Property using System.DirectoryServices =?Utf-8?B?bWJvd2Vyc294?= Microsoft Dot NET Framework 0 24th May 2005 02:51 PM
DirectoryServices : pb with property memberOf BlackGoddess Microsoft Dot NET Framework 6 29th Jul 2004 09:24 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:20 PM.