Re: Retrieving IIS Logon Name
From: Matjaz Ladava (matjaz_at_ladava.com)
Date: 05/09/03
- Next message: Hitesh: "dynamic entries in the <authorization> section??"
- Previous message: Jackie: "Retrieving IIS Logon Name"
- In reply to: Jackie: "Retrieving IIS Logon Name"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 9 May 2003 13:17:34 +0200
User.Identity.Name
Regards
Matjaz Ladava
"Jackie" <jackie_ol@hotmail.com> wrote in message
news:01ca01c3160c$e6de68e0$a001280a@phx.gbl...
> Hi!
> I want to retrieve the logon name which users provide
> when opening my web page. Anonymous access is disabled in
> IIS for the virtual directory, and users are required to
> enter their username and passwords to open the page. How
> can I get the username they give when logging on?
> I tried getting it from WindowsPrincipal.GetCurrent() but
> it only return NT AUTHORITY\NETWORK SERVICE.
>
> Thanks in advance.
- Next message: Hitesh: "dynamic entries in the <authorization> section??"
- Previous message: Jackie: "Retrieving IIS Logon Name"
- In reply to: Jackie: "Retrieving IIS Logon Name"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|