Re: Get the current logged in user name
From: Brock Allen (ballen_at_NOSPAMdevelop.com)
Date: Tue, 02 Aug 2005 08:20:42 -0700
This was in the context of a Control or the Page. Another way is to call:
> I cannot seem to find the container class for this property.
> It surly is not the member of System.Web.Security or am I wrong?
> "Brock Allen" <ballen@NOSPAMdevelop.com> wrote in message
>>> Hello All,
>>> I am new to .net. I want to use windows authentication to
>>> against the current logged in user on the client machine. I believe
>>> 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
>>> get the name of the current logged in client that is making a
>>> 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.