get username using asp.net

J

James

I have the following script & I need to get the username (with no
domain info) & feed the username into c:\documents and settings
\username\my documents". So, for instance, if the username is JSmith,
then I'll have
c:\documents and settings\JSmith\my documents. Thanks

==================================================================================
<HTML>

<HEAD>
<TITLE>This is only a test</TITLE>
</HEAD>
<BODY topmargin="0" leftmargin="0">
<div align="center">
<img border="0" src="picture.gif">

<OBJECT width="994"
CLASSID="CLSID:AAB0606-D808-479A-9398-34879AAA"
ID="application1"
CODEBASE="http://webserver//SupportWebSite/test.CAB#Version=5"
VIEWASTEXT>
</OBJECT>
</div>


<TABLE align="center">
<tr align="center" valign="middle">
<td width="100%" valign="top"><br>
<p align="center"><font face="Verdana, Arial, Helvetica, sans-
serif" size="1">This is only a test.<br>
</font><span class="bodytextblk"><br>
</p>
</td>
</tr>
</TABLE>

</BODY>

</HTML
===================================================================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top