User.Identity.Name VS 2005

Bill Humphrey

Active member
Joined
Apr 10, 2008
Messages
35
Programming Experience
Beginner
Hi

I've migrated a project from Visual Studio 2003 to 2005 and now the following code does not pick up a users identity from the browser:

If Trim(User.Identity.Name) = "" Then
Return
End If

When I'm logged into my PC I should get my network username but the cose is returning "".

Regards BH
 
Back
Top