Aspdotnet-Suresh

aspdotnet-suresh offers C#.net articles and tutorials,csharp dot net,asp.net articles and tutorials,VB.NET Articles,Gridview articles,code examples of asp.net 2.0 /3.5,AJAX,SQL Server Articles,examples of .net technologies

Showing posts with label ActiveDirectory. Show all posts
Showing posts with label ActiveDirectory. Show all posts

how to get userdetails from Active Directory based on username using asp.net

Mar 11, 2011 29 comments
Introduction:

Here I will explain how to get userdetails from Active directory based on username using asp.net

Description:

One day I got requirement like to get user details from Active directory based on username.

For that first create one new website after that right click on website and select Add Reference option after that select System.DirectoryServices from .NET tab and click ok now directory services reference has added to our application do you know why we have added this directory service to our application because by using this service we can get userdetails from Active directory.

© 2015 Aspdotnet-Suresh.com. All Rights Reserved.
The content is copyrighted to Suresh Dasari and may not be reproduced on other websites without permission from the owner.