What is Active Directory? What is the namespace used to
access the Microsoft Active Directories?

Answer Posted / mitesh

Active Directory Service Interfaces (ADSI) is a programmatic
interface for Microsoft Windows Active Directory. It enables
your applications to interact with diverse directories on a
network, using a single interface. Visual Studio .NET and
the .NET Framework make it easy to add ADSI functionality
with the DirectoryEntry and DirectorySearcher components.
Using ADSI, you can create applications that perform common
administrative tasks, such as backing up databases,
accessing printers, and administering user accounts. ADSI
makes it possible for you to:
• Log on once to work with diverse directories. The
DirectoryEntry component class provides username and
password properties that can be entered at runtime and
communicated to the Active Directory object you are binding to.
• Integrate directory information with databases such as SQL
Server. The DirectoryEntry path may be used as an ADO.NET
connection string provided that it is using the LDAP provider.
• Use a single application programming interface (API) to
perform tasks on multiple directory systems by offering the
user a variety of protocols to use. The DirectoryServices
namespace provides the classes to perform most
administrative functions.
• Perform "rich querying" on directory systems. ADSI
technology allows for searching for an object by specifying
two query dialects: SQL and LDAP.
• Access and use a single, hierarchical structure for
administering and maintaining diverse and complicated
network configurations by accessing an Active Directory tree.

using System.DirectoryServices;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how garbage collection works?

571


What is common language specification (cls)?

646


What is the purpose of IClonable interface in .NET?

604


Write the .net syntax for 'while loop'?

581


Why is .net used?

555






How to prepare parametrized (with more than one parameters) crystal report.pls tell me the code procedure, if any body can?

537


What is value type and refernce type in .net?

589


Differences between namespace, class, assembly?

591


How do we access crystal reports in .net?

585


How will you do redo and undo in textbox control?

564


Please explain what is the difference between a class and an object?

573


What are the two main parts of the .net framework?

565


What is meant by localization?

637


Please explain what is a delegate?

691


What is deferred execution vs. Immediate execution in linq?

568