This project is read-only.

ServerVariables LOGON_USER or AUTH_USER

Mar 18, 2010 at 11:16 PM
Edited Mar 18, 2010 at 11:34 PM

Hi all,

 

I am trying to automatically add the LOGON_USER or AUTH_USER Request.ServerVariables item to the "Name" part of the comments box.

 

Could anyone please explain to me how to do this? I have been developing ASP and other web techs for years, but I have no familiarity with ASP.NET or C#. Any code examples would be super appreciated.

I have used some client side script to make the name field readonly, but I need to insert the authenticated network id into the name field as well.

 

Please help! =)

<asp:TextBox ID="name" Text="Anonymous" MaxLength="32" runat="server" validationgroup="Classic" Columns="40" CssClass="commentViewControlStyle" Width="99%"></asp:TextBox>