Click here to Skip to main content
15,896,278 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.6K   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>User Properties</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>The properties of the <b>User</b> class are listed below. For a complete list of <b>User</b> class members, see the <a href="BVA.ActiveDirectory.Navigator.Objects.UserMembers.html">User Members</a> topic.</p><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.User.AdditionalHomePages.html">AdditionalHomePages</a></td><td width="50%"> Additional Home Pages of the user (String Array) </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"><a href="BVA.ActiveDirectory.Navigator.Objects.User.AdditionalPhoneNumbers.html">AdditionalPhoneNumbers</a></td><td width="50%"> Additional Phone numbers of the userv (String Array). </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"><a href="BVA.ActiveDirectory.Navigator.Objects.User.City.html">City</a></td><td width="50%"> City of the user. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"><a href="BVA.ActiveDirectory.Navigator.Objects.User.Country.html">Country</a></td><td width="50%"> Country of the user. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"><a href="BVA.ActiveDirectory.Navigator.Objects.User.Description.html">Description</a></td><td width="50%"> Description of the user. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"><a href="BVA.ActiveDirectory.Navigator.Objects.User.DisplayName.html">DisplayName</a></td><td width="50%"> Display name of the user. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"><a href="BVA.ActiveDirectory.Navigator.Objects.User.Email.html">Email</a></td><td width="50%"> E-mail of the user. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"><a href="BVA.ActiveDirectory.Navigator.Objects.User.Enabled.html">Enabled</a></td><td width="50%"> Enabled user. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"><a href="BVA.ActiveDirectory.Navigator.Objects.User.GivenName.html">GivenName</a></td><td width="50%"> Given Name of the user. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"><a href="BVA.ActiveDirectory.Navigator.Objects.User.HomePage.html">HomePage</a></td><td width="50%"> Home page of the user. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"><a href="BVA.ActiveDirectory.Navigator.Objects.User.Id.html">Id</a></td><td width="50%"> Id of the user in AD (GUID). </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"><a href="BVA.ActiveDirectory.Navigator.Objects.User.Initials.html">Initials</a></td><td width="50%"> Initials of the user. </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.User.MemberOf.html">MemberOf</a></td><td width="50%"> Collection of groups that this user is member of. </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.User.PhysicalDeliveryOfficeName.html">PhysicalDeliveryOfficeName</a></td><td width="50%"> Office of the user. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"><a href="BVA.ActiveDirectory.Navigator.Objects.User.PostOfficeBox.html">PostOfficeBox</a></td><td width="50%"> Po Box of the user. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"><a href="BVA.ActiveDirectory.Navigator.Objects.User.State.html">State</a></td><td width="50%"> State of the user. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"><a href="BVA.ActiveDirectory.Navigator.Objects.User.StreetAddress.html">StreetAddress</a></td><td width="50%"> Street address of the user. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"><a href="BVA.ActiveDirectory.Navigator.Objects.User.TelephoneNumber.html">TelephoneNumber</a></td><td width="50%"> Telephone number of the user. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"><a href="BVA.ActiveDirectory.Navigator.Objects.User.UserName.html">UserName</a></td><td width="50%"> User name of the user. </td></tr></table></div><h4 class="dtH4">See Also</h4><p><a href="BVA.ActiveDirectory.Navigator.Objects.User.html">User 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="User class, properties"></object><hr><div id="footer"><p><a href="mailto:bernardo@bancobva.com.br?subject=Active Directory Object Navigator Documentation Feedback: User%C2%A0Properties">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