Click to See Complete Forum and Search --> : Capture username
staticbob
Jul 18th, 2005, 10:20 AM
Guys,
How can I capture the username from the environment ? I use this in VB.Net . .
sDomainAccount = Environment.UserName
Cheers
Bob
dj4uk
Jul 19th, 2005, 06:36 AM
In ASP.NET you'd need to implement some kind of Authentication system before you could use this as all users have anonymous access. Depending on your situation Windows or Forms Authentication might be best. What are you trying to do?
DJ
mendhak
Jul 20th, 2005, 01:01 AM
Dim ident As WindowsIdentity = WindowsIdentity.GetCurrent()
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.