Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: Re: Get logon user


Message #1 by "Michael Woolbright" <michael_woolbright@h...> on Wed, 29 May 2002 19:20:21
I did it this way (C#):
TextBox1.Text = User.Identity.Name.ToString().Split(new char[]{'\\'})[1];

> How can i get the logon user id in aspx program like what asp does
> Request.ServerVariables(LOGON_USER)
> 
> Thanks!

  Return to Index