This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Hi,
using code(CAML,C#) how can i fetch users information from Active Directory in share point .if anybody have an idea please suggest me .
Thanks, Madhu.
Not sure what the business requirements are but if you want to fetch data from Active Directory then look into System.DirectoryServices.
If you want to fetch user information inside SharePoint then use UserProfileManager class.
http://msdn.microsoft.com/en-us/library/microsoft.office.server.userprofiles.userprofilemanager.aspx
Example using UserProfileManager
http://blogs.msdn.com/b/yardman/archive/2010/06/29/sharepoint-userprofilemanager-search-method-sample.aspx
I am assuming you are using SharePoint 2010 Server and not foundation.
Amit