Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > get username using asp.net

Reply
Thread Tools

get username using asp.net

 
 
James
Guest
Posts: n/a
 
      08-05-2009
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>
<PARAM NAME="URL" VALUE="http://webserver//SupportWebSite" >
<PARAM NAME="PATH" VALUE="c:\documents and settings\\my documents"
>

</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
================================================== =================================

 
Reply With Quote
 
 
 
 
James
Guest
Posts: n/a
 
      08-05-2009
It is ASP classic

"Mark Rae [MVP]" wrote:

> "James" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>
> > I have the following script

>
> Is this ASP.NET or ASP Classic...?
>
>
> --
> Mark Rae
> ASP.NET MVP
> http://www.markrae.net
>
>

 
Reply With Quote
 
 
 
 
Gregory A. Beamer
Guest
Posts: n/a
 
      08-05-2009
=?Utf-8?B?SmFtZXM=?= <(E-Mail Removed)> wrote in
news:(E-Mail Removed):

> 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! |
*******************************************
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
get username using asp James ASP General 7 08-17-2009 08:17 AM
loginview control displays network username instead of (web) username Shailesh Patel ASP .Net Web Controls 0 11-08-2006 08:19 PM
Get username when using Anonymous Access? jhcorey@yahoo.com ASP .Net 5 10-24-2005 04:59 PM
Change the username found in "C:\Documents and Settings\Username" The Reluctant Robot Named Jude Computer Support 1 05-05-2004 07:11 AM



Advertisments