Posted on: 6/26/2015 4:02:24 PM | Views : 645

I'm having to take over a ASP.NET Web Forms project written some years ago by a developer whose long since gone. The code-behind is VB.NET. He has the following lines of code:
Dim DOHUserid As String 'DOHUserid = "John.Doe" 'User.Identity.Name.Split("\")(1) DOHUserid = User.Identity.Name.Split("\")(1)  
(I've removed the guy's real name; substituting "John.Doe".)   Anyway, in trying to get this app to run I've gotten stuck at this point. It's an Intranet app, meant to run using the user's Windows identity.   Let me take a brief aside to say that there's no programmer's documentation at all. In fact I've had to work for over a week just trying to get this project back together again, as it was never put into source control. And for some reason the original code tore the whole project apart. He put the parts in several locations, and several ...

Go to the complete details ...