Last post Nov 29, 2008 02:48 PM by exuviae
Nov 29, 2008 10:36 AM|lasanthajn|LINK
I am very new for asp.net. Dose Someone know How to make small ASP.NET programme for Get current user informations (FirstName, LastName, Company, Email....) from Active Directory. I am currently joing with Server. So I just wanna make get all my user information
to each textbox when i open default.aspx file.
Nov 29, 2008 02:48 PM|exuviae|LINK
You would need to do 1 of two things, directy call the directory services api, or write your own custom active directory membership provider. I say this because the default ActiveDirectoryMembershipProvider does not work with the attributes that store first
name, last name, company, ect. In fact all the extra attributes in AD are ingored except username, create date, email, comment, isAproved, isLockedOut, and LockedOutDate.
This seems like a popular topic lately, I have a custom provider that deals with these extra attributes. I may release the full source to the public on codeplex if there is enough demand for it.