Click here to Skip to main content
15,892,643 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>AdManager.GetAllUsers Method (Boolean)</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> This method returns all Active Directory users. </p><div class="syntax"><span class="lang">[Visual Basic]</span><br>Overloads Public Shared Function GetAllUsers( _<br>   ByVal <i>includeDisabledUsers</i> As <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemBooleanClassTopic.htm">Boolean</a> _<br>) As <a href="BVA.ActiveDirectory.Navigator.Objects.UserCollection.html">UserCollection</a></div><div class="syntax"><span class="lang">[C#]</span><br>public static <a href="BVA.ActiveDirectory.Navigator.Objects.UserCollection.html">UserCollection</a> GetAllUsers(<br>   <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemBooleanClassTopic.htm">bool</a> <i>includeDisabledUsers</i><br>);</div><h4 class="dtH4">Parameters</h4><dl><dt><i>includeDisabledUsers</i></dt><dd>This parameter specifies if the disabled accounts should be returned.</dd></dl><h4 class="dtH4">Return Value</h4><p>Returns an User Collection.</p><h4 class="dtH4">Remarks</h4><p>This method should be used with caution because it's really heavy.</p><h4 class="dtH4">See Also</h4><p><a href="BVA.ActiveDirectory.Navigator.Business.AdManager.html">AdManager Class</a> | <a href="BVA.ActiveDirectory.Navigator.Business.html">BVA.ActiveDirectory.Navigator.Business Namespace</a> | <a href="BVA.ActiveDirectory.Navigator.Business.AdManager.GetAllUsers_overloads.html">AdManager.GetAllUsers Overload List</a></p><object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;"><param name="Keyword" value="GetAllUsers method"><param name="Keyword" value="GetAllUsers method, AdManager class"><param name="Keyword" value="AdManager.GetAllUsers method"></object><hr><div id="footer"><p><a href="mailto:bernardo@bancobva.com.br?subject=Active Directory Object Navigator Documentation Feedback: AdManager.GetAllUsers%C2%A0Method%C2%A0(Boolean)">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