Re: Get the account that ASP.NET runs under
- From: "Mircea Pleteriu" <mpleteriu@xxxxxxxxxxxxxxxx>
- Date: Fri, 9 Dec 2005 16:24:13 +0200
Thanks... but to be more clear...
I have a .NET console application which must determine the user account
under which the IIS runs the asp.net applications.
Under W2K it is the ASPNET, under W2K3 Server it is NETWORK SERVICE...
so.. I need a way to determine the account whatever the OS is.
"Juan T. Llibre" <nomailreplies@xxxxxxxxxxx> wrote in message
news:uXU3ioM$FHA.740@xxxxxxxxxxxxxxxxxxxxxxx
> Use :
>
> Environment.Username
>
>
>
> Juan T. Llibre
> ASP.NET.FAQ : http://asp.net.do/faq/
> ASPNETFAQ.COM : http://www.aspnetfaq.com/
> Foros de ASP.NET en Español : http://asp.net.do/foros/
> ======================================
>
> "Mircea Pleteriu" <mpleteriu@xxxxxxxxxxxxxxxx> wrote in message
> news:Onph%23cM$FHA.3852@xxxxxxxxxxxxxxxxxxxxxxx
> > Hi all,
> >
> > How to programatically obtain the account that ASP.NET runs under
regardless
> > of what the OS is.
> >
> > Thank you,
> > Mircea
>
>
.
- Follow-Ups:
- Re: Get the account that ASP.NET runs under
- From: Juan T. Llibre
- Re: Get the account that ASP.NET runs under
- References:
- Get the account that ASP.NET runs under
- From: Mircea Pleteriu
- Re: Get the account that ASP.NET runs under
- From: Juan T. Llibre
- Get the account that ASP.NET runs under
- Prev by Date: Re: Accessing components on other pages
- Next by Date: Re: Image with link in a gridview?
- Previous by thread: Re: Get the account that ASP.NET runs under
- Next by thread: Re: Get the account that ASP.NET runs under
- Index(es):
Relevant Pages
|