A simple article on how to get first Name and last name from Active Directory,
One thing is missing in this tutorial is to add the assembly to Web Config file. You have to add the following code ,
<add assembly="System.DirectoryServices.AccountManagement" />
Also I had the version 188.8.131.52 and for some reason it didnt work if I add the correct version within above.