Hi...
Okay this is driving me mad. I have a very simple webpage served up from my
webserver which uses the following code to populate 3 labels.
lblOne.Text = Page.User.Identity.Name
lblTwo.Text = System.Security.Principal.WindowsIdentity.GetCurre nt().Name
lblThree.Text = System.Threading.Thread.CurrentPrincipal.Identity. Name
In my web.config file I have :-
<authentication mode="Windows" />
<identity impersonate="true"/>
<authorization>
<deny users = "?" />
<allow users ="*" />
</authorization>
So when i call the url to display the page from my machine the labels are
populated as below:-
someserver\administrator
someserver\administrator
someserver\administrator
but i was expecting the identity of the person calling the webpage something
like:-
ad\rich
What am i doing wrong or have i totally failed to grasp the impersonating
topic at all. I am running Windows 2003 with IIS 6
Any help would be very much appreciated.
Many thanks
R