How to output current user's AD sAMAccountName to a textbox
<p>I'm designing an eform that submits information into a CSV. I need to display the current user's <code>sAMAccountName</code> and the <code>Datetime.Today</code> in two of the text fields.</p>

<p>Any idea of how this would be done?</p>

<p>I've been trying: c#</p>

<pre><code>public string UserName { get { return Session["UserName"]; } }
</code></pre>

<p>to:</p>

<pre><code>  &lt;asp:TextBox ID="UserName" runat="server" Width="44px" ReadOnly="true"&gt;&lt;/asp:TextBox&gt;
</code></pre>
