D djc Nov 12, 2004 #1 I have MSDE2000 using integrated authentication. How can I determine the username of the logged on user from my asp.net app?
I have MSDE2000 using integrated authentication. How can I determine the username of the logged on user from my asp.net app?
M Miha Markic [MVP C#] Nov 12, 2004 #2 Hi, Aspnet application is running on server under local windows aspnet account by default (only on w2k3 is different account used).
Hi, Aspnet application is running on server under local windows aspnet account by default (only on w2k3 is different account used).
P Paul Clement Nov 12, 2004 #3 ¤ I have MSDE2000 using integrated authentication. How can I determine the ¤ username of the logged on user from my asp.net app? ¤ Several methods. Here is one: System.Security.Principal.WindowsIdentity.GetCurrent.Name Paul ~~~ (e-mail address removed) Microsoft MVP (Visual Basic)
¤ I have MSDE2000 using integrated authentication. How can I determine the ¤ username of the logged on user from my asp.net app? ¤ Several methods. Here is one: System.Security.Principal.WindowsIdentity.GetCurrent.Name Paul ~~~ (e-mail address removed) Microsoft MVP (Visual Basic)
G Guest Nov 12, 2004 #5 In SQL, select suser_sname() Miha Markic said: Hi, Aspnet application is running on server under local windows aspnet account by default (only on w2k3 is different account used). -- Miha Markic [MVP C#] - RightHand .NET consulting & development SLODUG - Slovene Developer Users Group www.rthand.com djc said: I have MSDE2000 using integrated authentication. How can I determine the username of the logged on user from my asp.net app? Click to expand... Click to expand...
In SQL, select suser_sname() Miha Markic said: Hi, Aspnet application is running on server under local windows aspnet account by default (only on w2k3 is different account used). -- Miha Markic [MVP C#] - RightHand .NET consulting & development SLODUG - Slovene Developer Users Group www.rthand.com djc said: I have MSDE2000 using integrated authentication. How can I determine the username of the logged on user from my asp.net app? Click to expand... Click to expand...
P PIEBALD Nov 14, 2004 #6 With SQL server, it's: SELECT System_user *-----------------------* Posted at: www.GroupSrv.com *-----------------------*
With SQL server, it's: SELECT System_user *-----------------------* Posted at: www.GroupSrv.com *-----------------------*
D djc Nov 15, 2004 #8 thanks In SQL, select suser_sname() Miha Markic said: Hi, Aspnet application is running on server under local windows aspnet account by default (only on w2k3 is different account used). -- Miha Markic [MVP C#] - RightHand .NET consulting & development SLODUG - Slovene Developer Users Group www.rthand.com djc said: I have MSDE2000 using integrated authentication. How can I determine the username of the logged on user from my asp.net app? Click to expand... Click to expand... Click to expand...
thanks In SQL, select suser_sname() Miha Markic said: Hi, Aspnet application is running on server under local windows aspnet account by default (only on w2k3 is different account used). -- Miha Markic [MVP C#] - RightHand .NET consulting & development SLODUG - Slovene Developer Users Group www.rthand.com djc said: I have MSDE2000 using integrated authentication. How can I determine the username of the logged on user from my asp.net app? Click to expand... Click to expand... Click to expand...