473,385 Members | 2,269 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

DirectoryServices and ObjectClass property

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?

May 21 '07 #1
4 3367
"Jeroen" <me******@gmail.comwrote in message
news:11**********************@y2g2000prf.googlegro ups.com...
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.

May 21 '07 #2
On 21 mei, 21:58, "Willy Denoyette [MVP]" <willy.denoye...@telenet.be>
wrote:
"Jeroen" <mercu...@gmail.comwrote 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.

May 22 '07 #3
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" <me******@gmail.comwrote in message
news:11**********************@q66g2000hsg.googlegr oups.com...
On 21 mei, 21:58, "Willy Denoyette [MVP]" <willy.denoye...@telenet.be>
wrote:
>"Jeroen" <mercu...@gmail.comwrote 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.

May 22 '07 #4
"Jeroen" <me******@gmail.comwrote in message
news:11**********************@q66g2000hsg.googlegr oups.com...
On 21 mei, 21:58, "Willy Denoyette [MVP]" <willy.denoye...@telenet.be>
wrote:
>"Jeroen" <mercu...@gmail.comwrote 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.

May 22 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Sean | last post by:
I figured I'd start this post on the .NET general forum instead of the ADSI forum but feel free to nudge me along if I am looking in the wrong place. I am working with System.DirectoryServices...
4
by: m96 | last post by:
hi, i'm trying to make a query to a ldap server (version v2 or v3 doen't matter) with c#. the query works just fine but the problem is that i can't read the custom attributes/fields, since .net...
0
by: bdm | last post by:
Hello, I want to insert new records into an openldap server using the assembly mentioned above. I am kind of stuck I haven't found any examples of how to do this exactly (that I understand??) ...
0
by: Chris Frohlich | last post by:
All, I've built an Employee Directory with ASP.NET app that queries Active Directory for users and builds links with the results. What I'm seeing is really intermittent failures to bind to the...
5
by: Keith Jakobs, MCP | last post by:
Hi All.... I'm having a HECK of a time connecting to Active Directory using VB in Visual Studio.NET 2003. Can anyone PLEASE help me? All I am trying to do is list the current members of our...
4
by: jmDesktop | last post by:
Can someone tell me why I get this error? System.DirectoryServices.DirectoryServicesCOMException was unhandled Message="An operations error occurred.\r\n" Source="System.DirectoryServices"...
5
by: Peter Bradley | last post by:
I'm trying to use System.DirectoryServices to update Active Directory from a Web Service. When I try to commit the changes, I get the following error message: "A constraint violation occurred....
4
by: Brandon McCombs | last post by:
Hello, From my understanding, DirectoryEntry is used to connect to Active Directory. Although this makes no sense whatsoever I accept it. The problem is how am I supposed to test whether a...
0
by: richardaz | last post by:
I have been working on a project to search for 250,000 different records in ActiveDirectory. The process takes a long time and I have tried everything to make it faster. Currently using...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.