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

Difference between machine.config and web.config?

765


How to create a key pair in .net?

815


What is difference between system.string and system.stringbuilder classes?

818


Please explain what are an object and a class?

717


What class does icon derive from? Isn't it just a bitmap with a wrapper name around it?

818


What is lazy initialization?

804


What is the difference between a namespace and assembly name in .net?

742


Differentiate between managed and unmanaged code?

838


Do you know what is lambda expressions in c#?

754


Do you know what's the difference between .net and laravel?

780


I was working for software company frm 2005 to 2009. I left job due to recession.I was jobless till dec 09 then i got job in bpo and i am not knowing what to do as my professional experience is with software.give me any suggestion.

1698


Explain the differences between server-side code and client-side code.

777


Tell us what is the native image generator?

767


How is .net core cross platform?

850


Will my .net app run on 64-bit windows?

836