I am trying to get a user's login credentials and then go into AD and get their "Full Name". I found some sample code and it was in vb and i was hoping to convert it to C# since that is what the rest of the project is being written in. Here is the line I am getting stuck on:
Dim DomainUser As String = System.Security.Principal.WindowsIdentity.GetCurrent.Name.Replace("\", "/")
...
Go to the complete details ...