Re: Can asp.net find Windows login name?
From: Patrick.O.Ige (patrickige_at_optusnet.com.au)
Date: 11/18/05
- Previous message: Patrick.O.Ige: "Re: Active Directory vs SqlServer which way to go?"
- In reply to: Karsten Samaschke [MVP]: "Re: Can asp.net find Windows login name?"
- Next in thread: Dominick Baier [DevelopMentor]: "Re: Can asp.net find Windows login name?"
- Reply: Dominick Baier [DevelopMentor]: "Re: Can asp.net find Windows login name?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 18 Nov 2005 19:55:03 +1100
That would solve your problem as Karsten adviced
Or even use ServerVariable LOGON_USER
But you need to have have Integrated Windows Auth checked in IIS to get the
user logged on
Patrick
"Karsten Samaschke [MVP]" <msnews@ksamaschke.de> wrote in message
news:dlk4dg.l0.1@news.ksamaschke.de...
> Hi,
>
> > When a page first opens, can I use code similar to my current VB6 code:
>
> Why don't you use
>
> User.Identity.Name
>
> from your page?
>
> --
> Karsten Samaschke
> IT-Consulting, IT-Development, IT-Training
> 5x MS MVP ASP / ASP.NET, Germany
> Homepage: http://www.ksamaschke.de
> Weblog: http://www.karsan.de
> - - - - - - - - - - - - - - - - - - - - - - - - - -
> My Weblog: http://www.karsan.de
> My Books: http://books.ksamaschke.de
>
>
- Previous message: Patrick.O.Ige: "Re: Active Directory vs SqlServer which way to go?"
- In reply to: Karsten Samaschke [MVP]: "Re: Can asp.net find Windows login name?"
- Next in thread: Dominick Baier [DevelopMentor]: "Re: Can asp.net find Windows login name?"
- Reply: Dominick Baier [DevelopMentor]: "Re: Can asp.net find Windows login name?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]