get username using asp.net

  • Thread starter Thread starter James
  • Start date Start date
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
===================================================================================
 
It is ASP classic

Try microsoft.public.inetserver.asp.general, as you are more likely to get
an answer there.



--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 
Back
Top