|
-
Jul 18th, 2005, 10:20 AM
#1
Thread Starter
Fanatic Member
Capture username
Guys,
How can I capture the username from the environment ? I use this in VB.Net . .
sDomainAccount = Environment.UserName
Cheers
Bob
-
Jul 19th, 2005, 06:36 AM
#2
Frenzied Member
Re: Capture username
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
If I have been helpful please rate my post. If I haven't tell me!
-
Jul 20th, 2005, 01:01 AM
#3
Re: Capture username
Dim ident As WindowsIdentity = WindowsIdentity.GetCurrent()
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|