Active Directory Programming for Developers

Learn how to use .NET to program against Active Directory.
Course info
Rating
(306)
Level
Intermediate
Updated
May 29, 2013
Duration
1h 40m
Table of contents
Description
Course info
Rating
(306)
Level
Intermediate
Updated
May 29, 2013
Duration
1h 40m
Description

Active Directory is the employee information store for businesses large and small. However, very few developers understand Active Directory well enough to leverage its capabilities. You have spent hundreds of hours learning SQL, now it’s time to spend two learning how to use Active Directory.

About the author
About the author

Steve Evans is a Microsoft Most Valuable Professional (MVP), Pluralsight Author, and technical Speaker at various industry events.

More from the author
Windows Server 2008 for Developers
Intermediate
50m
Aug 1, 2014
Windows Server 2012 for Developers
Intermediate
52m
Aug 1, 2014
More courses by Steve Evans
Section Introduction Transcripts
Section Introduction Transcripts

Introduction to LDAP
Hi, my name is Steve Evans. This is the Active Directory Programming course for Pluralsight. In this course, we're going to look at what LDAP and Active Directory is and why you would use LDAP or Active Directory. Then we're going to look at some of the different ways we can program against an LDAP Store. We're going to look at System. DirectoryServices and we're going to look at S. DS. AccountManagement. We're going to then look at PowerShell and how we can use PowerShell to interact with Active Directory. Then we're going to look at some more advanced features of LDAP and how to do some more complicated things and then we're going to talk about how to use Active Directory/LDAP for authentication.

System.DirectoryServices
In this module, we're going to look at the. NET Class System. DirectoryServices. First, we're going to take an overview of System. DirectoryServices, then we're going to through some examples of Binding to LDAP, Creating an Object in LDAP, Finding Objects in LDAP, Looking at Properties on specific objects, Dealing with Passwords on Users, and then finally how to Delete Objects.

S.DS.AccountManagement
In this module, we're going to learn about the S. DS. AccountManagement namespace. First, we'll talk about what the System. DirectoryServices. AccountManagement namespace is and the significant classes inside of it, then we'll do some demos where we'll Bind to LDAP, we'll Create Objects, we'll Find Objects, we'll Look at and Modify Properties on Objects, we'll look at Extending a S. DS. AM Class to extend its functionality, and then we'll do some Password Management, and finally Delete Objects.

PowerShell AD Module
In this module, we'll be looking at the PowerShell ActiveDirectory Module. First we'll talk about how to create objects using PowerShell, then we'll learn how to find objects of various types, we'll start to work with some properties around objects, finally we'll look at changing and resetting passwords, and then finally we'll delete objects.

Performance Optimizations
In this module, we're going to look at how to make our Active Directory and LDAP code more efficient. First we'll learn how to do some Search Optimizations that will allow us to find users and objects faster. Then we'll look at GUID Binding, which allows us to connect well-known objects immediately. We'll discuss Global Catalog Searches, which is essential in an Enterprise environment. Then we'll look at Attribute Scoped Queries, which will allow us to get, say all the email addresses out of a group, and then finally we'll look at how Connection Pooling works with Active Directory.

LDAP Authentication
In this module, we're going to look at how to leverage LDAP to do Authentication. Now there's a lot of other courses on Pluralsight around how federated security works and how to do ASP. NET authentication and I'm not going to get into the details of that. I'm just going to talk about the details of how you'd use LDAP in these particular scenarios. So, first we'll look at how to use System. DirectoryServices to do Authentication. So this can be handy if you're running some type of thick app, same with S. DS. AccountManagement. And finally we'll look at using ASP. net Authentication, except using LDAP instead of a SQL Database.