Wrox Programmer Forums
|
ASP.NET 1.x and 2.0 Application Design Application design with ASP.NET 1.0, 1.1, and 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.x and 2.0 Application Design section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 6th, 2006, 09:05 AM
Authorized User
 
Join Date: Sep 2006
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default Computer login name

Can someone help me. I'm using this code: "System.Security.Principal.WindowsIdentity.GetCurr ent.Name" to get the current user login name from their computer, but in terms it gives me IUSR_servername instead. What shall i do to correct this. Also on my table in sql I have the curret_user to record the person who imputs an entry and it give me the same IUSR_servername instead of the login name. Help please!!:)

Alexander Nelson
Programmer
__________________
Alexander Nelson
Programmer
 
Old September 6th, 2006, 07:39 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

I answered this question in this thread. (Please don't cross post)

http://p2p.wrox.com/topic.asp?TOPIC_ID=49368

"The one language all programmers understand is profanity."
 
Old September 7th, 2006, 08:18 AM
Authorized User
 
Join Date: Sep 2006
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks!! Sorry I was new to this.

Alexander Nelson
Programmer





Similar Threads
Thread Thread Starter Forum Replies Last Post
login script: user can't hit "return" for login dmerrill Java Basics 13 July 14th, 2006 07:25 PM
Newbie Help. Login to unique login page per user Kainan Classic ASP Professional 10 May 3rd, 2005 07:47 AM
login failed for user nt authority\anonymous login rj1406 Classic ASP Databases 1 October 24th, 2004 09:15 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.