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

Answer Posted / sajid

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.
• 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.
• 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.
using System.DirectoryServices;

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is misl?

625


What is "common language runtime" (clr) in .net?

596


what is the keyword used for self reference?

1937


What is delegation in .net?

608


Please explain the difference between constants and read-only variables?

532






Explain how viewstate is being formed and how it's stored on client in .net?

544


Please explain what garbage collection is and how it works. Provide a code example of how you can enforce garbage collection in .net?

541


What is namespaces in .net?

646


How many namespaces are in .net version 1.1?

607


Do you know what is .net standard?

575


Do you know the difference between the stack and the heap?

533


Please explain what are an object and a class?

527


Explain what is the difference between response.redirect & server.transfer?

548


How is .net core cross platform?

631


Explain the procedure to add assemly to gac to make it shared one?

563