I am developing a web application in Visual Studio 2003, .NET 1.1 to run on
our intranet. I want to identify users to save them logging in.
The line:
UserName = Environment.Use rName
is returning "ASPNET", instead of my user name.
I have read all the Help documentation, but I can't find any reason why this
isn't working.
Am I missing a reference or import? I have added a reference to
System.Security .dll. My imports are:
Imports System
Imports System.Configur ation
Imports System.Security .Principal
Imports System.Security .Permissions
Imports System.Threadin g
Thanks for your help,
Helen
our intranet. I want to identify users to save them logging in.
The line:
UserName = Environment.Use rName
is returning "ASPNET", instead of my user name.
I have read all the Help documentation, but I can't find any reason why this
isn't working.
Am I missing a reference or import? I have added a reference to
System.Security .dll. My imports are:
Imports System
Imports System.Configur ation
Imports System.Security .Principal
Imports System.Security .Permissions
Imports System.Threadin g
Thanks for your help,
Helen
Comment