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.


  • Shelly Bhardwaj

    Free Methods To Export Exchange Mailbox To Office 365

    In this article, you will learn about Free Methods to Export Exchange Mailbox to Office 365.
    Shelly Bhardwaj Jul 23, 2020
  • Arun Menon

    Advanced Customization of AD FS Sign-in and Update Password Pages

    The article is a detailed walkthrough for customizing the ADFS login and update password page with custom company branding and custom functionalities. There is a sample code attached within which ...
    Arun Menon Apr 22, 2020
  • 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
  • Chirag Khabaria

    Active Directory Filter Builder

    AD Filter Builder is the tool for building up the LDAP query for easy searching.
    Chirag Khabaria Mar 15, 2018
  • 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
  • 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
  • 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
  • View More