I've got an IIS5 box which I need - or would like to change the server
variables of the user in the AUTH_USER, LOGON_USER, REMOTE_USER fields

Normally these variables would read DOMAIN\Username but I need to lose the
DOMAIN\ part of the variable for scripts and process my web team use.

Is this possible??

Any help would be great

Paul

Re: IIS Server Variables which contain user name by David

David
Sun Aug 27 03:41:02 CDT 2006

Not possible on IIS5.

It can be done on IIS7.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//

"Paul_WWF" <PaulWWF@discussions.microsoft.com> wrote in message
news:ED632959-275A-4D4E-996E-0EF0492885E6@microsoft.com...
> I've got an IIS5 box which I need - or would like to change the server
> variables of the user in the AUTH_USER, LOGON_USER, REMOTE_USER fields
>
> Normally these variables would read DOMAIN\Username but I need to lose the
> DOMAIN\ part of the variable for scripts and process my web team use.
>
> Is this possible??
>
> Any help would be great
>
> Paul



Re: IIS Server Variables which contain user name by JayhawkTuba

JayhawkTuba
Wed Aug 30 15:28:01 CDT 2006

Use some asp code like this:

UserName = Replace(Request.ServerVariables("AUTH_USER"), "DOMAIN\", "")

So if the AUTH_USER server variable returns DOMAIN\ABC123, then this code
will strip the "DOMAIN\" characters off of it.

"David Wang [Msft]" wrote:

> Not possible on IIS5.
>
> It can be done on IIS7.
>
> --
> //David
> IIS
> http://blogs.msdn.com/David.Wang
> This posting is provided "AS IS" with no warranties, and confers no rights.
> //
>
> "Paul_WWF" <PaulWWF@discussions.microsoft.com> wrote in message
> news:ED632959-275A-4D4E-996E-0EF0492885E6@microsoft.com...
> > I've got an IIS5 box which I need - or would like to change the server
> > variables of the user in the AUTH_USER, LOGON_USER, REMOTE_USER fields
> >
> > Normally these variables would read DOMAIN\Username but I need to lose the
> > DOMAIN\ part of the variable for scripts and process my web team use.
> >
> > Is this possible??
> >
> > Any help would be great
> >
> > Paul
>
>
>