See
http://msdn.microsoft.com/library/en...SecNetAP05.asp for
a list of the three properties that expose user identity information that
may be useful in your application, as well as descriptions of how various
IIS and ASP.NET authentication and identity configurations affect the
property values.
"Imran Aziz" <> wrote in message
news:...
> Hello All,
> I am new to .net. I want to use windows authentication to authenticate
> against the current logged in user on the client machine. I believe by
> using windows authentication method, the IIS will send me details of the
> current logged in user at the client machine if integrated windows
> authentication is enabled at IIS. Can anyone please guide me how I can get
> the name of the current logged in client that is making a request to my
> ASP.net application ?
>
> I am trying to look into System.Web.Security class for this but have not
> been able to find a piece of code or guidance of how to do it.
>
> Imran.
>