Click here to Skip to main content
15,893,722 members
Articles / Programming Languages / Visual Basic

Active Directory Object Navigator

Rate me:
Please Sign up or sign in to vote.
4.67/5 (21 votes)
25 Apr 20054 min read 264.4K   6.4K   108  
An article describing how to connect to an Active Directory database.
<html dir="LTR"><head><META http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"><title>OrganizationalUnit Members</title><xml></xml><link rel="stylesheet" type="text/css" href="MSDN.css"></head><body id="bodyID" class="dtBODY"><div id="nsbanner">Active Diretory Object Navigator</div><div id="nstext"><p><a href="BVA.ActiveDirectory.Navigator.Objects.OrganizationalUnit.html">OrganizationalUnit overview</a></p><h4 class="dtH4">Public Instance Constructors</h4><div class="tablediv"><table class="dtTABLE" cellspacing="0"><tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"><a href="BVA.ActiveDirectory.Navigator.Objects.OrganizationalUnitConstructor.html">OrganizationalUnit Constructor</a></td><td width="50%"> Contructor for an Organizational Unit. </td></tr></table></div><h4 class="dtH4">Public Instance Properties</h4><div class="tablediv"><table class="dtTABLE" cellspacing="0">
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"><a href="BVA.ActiveDirectory.Navigator.Objects.OrganizationalUnit.Containers.html">Containers</a></td><td width="50%"> Containers in this organizational unit. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"><a href="BVA.ActiveDirectory.Navigator.Objects.OrganizationalUnit.Groups.html">Groups</a></td><td width="50%"> Groups in this organizational unit. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"><a href="BVA.ActiveDirectory.Navigator.Objects.OrganizationalUnit.Id.html">Id</a></td><td width="50%"> Id for the Organizational Unit. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"><a href="BVA.ActiveDirectory.Navigator.Objects.BaseObject.IsLoaded.html">IsLoaded</a> (inherited from <b>BaseObject</b>)</td><td width="50%"> Indicates if this level of the tree is already loaded. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"><a href="BVA.ActiveDirectory.Navigator.Objects.OrganizationalUnit.Name.html">Name</a></td><td width="50%"> Name of the Organizational Unit. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"><a href="BVA.ActiveDirectory.Navigator.Objects.OrganizationalUnit.OrganizationalUnits.html">OrganizationalUnits</a></td><td width="50%"> Organizational Units of this organizational unit (collection) </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"><a href="BVA.ActiveDirectory.Navigator.Objects.BaseObject.OriginalDirectoryEntry.html">OriginalDirectoryEntry</a> (inherited from <b>BaseObject</b>)</td><td width="50%"> Indicates the original Directory Entry on the AD namespace (System.DirectoryServices). </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"><a href="BVA.ActiveDirectory.Navigator.Objects.BaseObject.Parent.html">Parent</a> (inherited from <b>BaseObject</b>)</td><td width="50%"> Indicates the parent object (node) of this node. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"><a href="BVA.ActiveDirectory.Navigator.Objects.BaseObject.ParentType.html">ParentType</a> (inherited from <b>BaseObject</b>)</td><td width="50%"> Indicates the type of the parent object of this node. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"><a href="BVA.ActiveDirectory.Navigator.Objects.OrganizationalUnit.Users.html">Users</a></td><td width="50%"> Users in this organizational unit. </td></tr></table></div><h4 class="dtH4">Public Instance Methods</h4><div class="tablediv"><table class="dtTABLE" cellspacing="0">
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassEqualsTopic.htm">Equals</a> (inherited from <b>Object</b>)</td><td width="50%">Determines whether the specified <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassTopic.htm">Object</a> is equal to the current <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassTopic.htm">Object</a>.</td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassGetHashCodeTopic.htm">GetHashCode</a> (inherited from <b>Object</b>)</td><td width="50%">Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.</td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassGetTypeTopic.htm">GetType</a> (inherited from <b>Object</b>)</td><td width="50%">Gets the <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemTypeClassTopic.htm">Type</a> of the current instance.</td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassToStringTopic.htm">ToString</a> (inherited from <b>Object</b>)</td><td width="50%">Returns a <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemStringClassTopic.htm">String</a> that represents the current <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassTopic.htm">Object</a>.</td></tr></table></div><h4 class="dtH4">Protected Instance Methods</h4><div class="tablediv"><table class="dtTABLE" cellspacing="0">
<tr VALIGN="top"><td width="50%"><img src="protmethod.gif"><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassFinalizeTopic.htm">Finalize</a> (inherited from <b>Object</b>)</td><td width="50%">Allows an <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassTopic.htm">Object</a> to attempt to free resources and perform other cleanup operations before the <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassTopic.htm">Object</a> is reclaimed by garbage collection.</td></tr>
<tr VALIGN="top"><td width="50%"><img src="protmethod.gif"><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassMemberwiseCloneTopic.htm">MemberwiseClone</a> (inherited from <b>Object</b>)</td><td width="50%">Creates a shallow copy of the current <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassTopic.htm">Object</a>.</td></tr></table></div><h4 class="dtH4">See Also</h4><p><a href="BVA.ActiveDirectory.Navigator.Objects.OrganizationalUnit.html">OrganizationalUnit Class</a> | <a href="BVA.ActiveDirectory.Navigator.Objects.html">BVA.ActiveDirectory.Navigator.Objects Namespace</a></p><object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;"><param name="Keyword" value="OrganizationalUnit class"><param name="Keyword" value="BVA.ActiveDirectory.Navigator.Objects.OrganizationalUnit class"><param name="Keyword" value="OrganizationalUnit class, all members"></object><hr><div id="footer"><p><a href="mailto:bernardo@bancobva.com.br?subject=Active Directory Object Navigator Documentation Feedback: OrganizationalUnit Members&#xD;&#xA;						">Send comments on this topic.</a></p>- Bernardo Heynemann (bernardo@bancobva.com.br) -</div></div></body></html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United Kingdom United Kingdom
Bernardo Heynemann is a senior developer at ThoughtWorks UK in London. He is really into Visual Studio 2008, LINQ and ASP.Net MVC. He's also chairman of Stormwind Project (http://www.stormwindproject.org). He can be found at his blog at http://blogs.manicprogrammer.com/heynemann.

Comments and Discussions