In VB 6, to determine who launched an application, I would use the 'GetUserName' function in advapi32.dll.<BR><BR>What technique can I use to do the same in a VB.NET/ASP.NET web form?<BR><BR>Thanks!You need to understand that a normal configuration of ASP.Net will mean that the ASPNET account will always run your applications. It isn't like a user actually double clicks on an .exe..a user request a page, and that request is fufilled by the ASPNET account.<BR><BR>If you are using windows authentication, then you can get it from Request.ServerVariables["AUTH_USER"] (or Request.ServerVariables("AUTH_USER") in VB)....<BR><BR>KarlOn a WebForm, with VB.NET, I simply tried setting a string variable equal to Request.ServerVariables("AUTH_USER"), but it was blank? I was hoping to see my own username.<BR><BR>I read that Windows Authentication is the IIS default, what else could be the problem?<BR><BR>Thanks!are you prompted for a username/password/domain when you try to access a page? if not, then IIS allows anonymous access and the ASPNET account will be used...