What do you mean the option for integrated authentication is "selected but
not available"?
If you are using NT authentication, dump the logon_user lookup and go with
User.Idenity.Name.
bill
"T." <> wrote in message
news:%23Wis3F$...
> That option is selected but not available...so I tried every possible
> combinations for those options...also my web.config authenication is set
to
> "Windows"
>
>
> "Marina" <> wrote in message
> news:e8dtuA$...
> > Do you have only windows authentication on, on the virtual directory
your
> > app is in?
> >
> > "T." <> wrote in message
> > news:O3ccu7%...
> > > Shiva my friend...this is exactly what I did...and no luck.
> > >
> > > strLoginID = Request.ServerVariables("LOGON_USER")
> > > response.write strLoginID
> > >
> > > Returns nothing....
> > >
> > > "Shiva" <> wrote in message
> > > news:uyQYwy#...
> > > > Hi,
> > > > It will be empty if anonymous access is allowed. Deny anonymous
> > > > authentication and turn on Basic, Digest or Integrated auth to force
> > > > authentication and hence get a value for LOGON_USER server variable.
> > > >
> > > > HTH
> > > >
> > > > "T." <> wrote in message
> > > > news:OebCjr#...
> > > > Hello,
> > > >
> > > > I'm trying to pull the logon user's name using
> > > > Request.ServerVariables("LOGON_USER")...which is returning
> nothing...so
> > I
> > > > need help in determining why it's returning nothing, or I need the
> > format
> > > in
> > > > which it returns the username so that I can hard code it. Does it
> > return
> > > > anything with the username?
> > > >
> > > > Thanks...
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
|