Active Directory
Welcome to Active Directory section of C# Corner. In this section, you will find various Active Directory related source code samples, articles, tutorials, and tips using C# language.

Articles

  • Shridhar Sharma

    Getting Users From Active Directory

    In this post, we will fetch Active Directory users using C# code. For this, all we need are Active Directory assemblies.
    Shridhar Sharma Jan 02, 2016
  • John Charles Olamendy

    Accessing the Active Directory From Microsoft .NET

    This article is intended to explain the architectural design of an application querying the Microsoft Active Directory. Microsoft Active Directory is a directory service that provides the foundatio...
  • Amir Ali

    Learn About Date Picker in Android

    This article explains the Date Picker in Android. Android Studio is used to create the sample.
    Amir Ali Sep 12, 2013
  • Rohit Kshirsagar

    Forms Authentication with Active Directory

    This article and sample code explains how you can take advantage of Active Directory in Web applications for authenticate and authorize the Web site users.
    Rohit Kshirsagar Feb 05, 2004
  • Erika Ehrli

    Active Directory and .NET

    Microsoft Technet offers a script repository to work with AD User Accounts; however, I needed to work with .NET and I could not find samples for all the tasks I needed to program. I promised to mys...
    Erika Ehrli Jun 22, 2005
  • Shrikant Utekar

    Integrated Security with Web Application

    This article will give you an idea about how Integrated Security works with Web Application using Active Directories.
    Shrikant Utekar Jan 30, 2007
  • Anand Thakur

    Authenticate a user against the Active Directory

    This article serves as a guide to using System.DirectoryServices (SDS) ADSI to access user and group in the Windows Active Directory. Authenticate a user against the Active Directory using the user...
    Anand Thakur Apr 05, 2006
  • Kevin Rou

    Integrating LDAP Active Directory into your .Net Web Portal (C# or VB.NET)

    This article will guide you through the best practices and method of using LDAP Active Directory as your user store for credentials and account information in your web applications or portal that y...
    Kevin Rou Mar 04, 2009
  • Dhananjay  Kumar

    ALL Operations on Active Directory (AD) using c#

    This article will explain how to perform operations on Active Directory (AD) using C#. In this step-by-step tutorial, I will build a class library (DLL) project that will perform all the AD Operat...
    Dhananjay Kumar Nov 13, 2009
  • Jaish Mathews

    Using Expression Property to create Columns with Dynamic Values

    This article shows how to create columns with dynamic values using expression property.
    Jaish Mathews Oct 09, 2006
  • Matthew Cochran

    C# Asynchronous Multi-Threaded Active Directory User/Group Browser

    I was working on a win forms project that queries Active Directory information for user and group information and thought the approach may be of interest to some c-sharpcorner readers as a simple e...
    Matthew Cochran Oct 01, 2007
  • John O Donnell

    Changing User Information using Active Directory

    If your company is one of the lucky? Ones to implement Windows 2000 Active Directory you may have been looking for a way to populate it with data. Perhaps adding people’s details from a file direct...
    John O Donnell Aug 14, 2002
  • sathya

    .NET and Active Directory

    This article outlines connecting to AD from .Net using ADO and System.DirectoryServices and also forming a unique ID from AD, moving entries from AD to a database and forming AD queries (also date ...
    sathya Apr 19, 2007
  • Wojtek Piaseczny

    LDAP Access Control for ASP.Net

    This is an example of how to build an ASP.NET LDAP authentication application using ADAM. This article describes how to configure ADAM for regular LDAP communication and build a boilerplate ASP.NET...
    Wojtek Piaseczny Oct 31, 2006
  • Chandra Hundigam

    Working with System.IO.Directory Class in C#

    This article is focused on understanding the Directory class of System.IO namespace.
    Chandra Hundigam Jul 22, 2002
  • Laishram Priyokumar Singh

    Handling new line and carriage return with Textbox

    This article shows how to handle newline and carriage return with Textbox while working with Databases.
  • jr.charles

    Active Directory and Microsoft .NET

    This article will emphasize in the benefits of using the namespace System.DirectoryServices.
    jr.charles Oct 18, 2004
  • Tiberiu Ionescu

    Adding new Windows User Account using Active Directory

    This article uses Active Directory to add new user account. The Active Directory will be accessed using windows native protocol (not LDAP).
    Tiberiu Ionescu May 21, 2005
  • John O Donnell

    Active Directory Sample I

    This sample shows how to access Active Directory information in a Windows 2000 domain.
    John O Donnell Aug 23, 2001
  • Vivek Sharma

    Using Active Directory

    This sample code can sense current context in Active Directory, checks for the existence of attributes, provides a list of all the attributes in Active Directory and can add a user to Active Direct...
    Vivek Sharma Jul 31, 2002
  • View More