Re: Retrieving IIS Logon Name

From: Matjaz Ladava (matjaz_at_ladava.com)
Date: 05/09/03


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.



Relevant Pages

  • RE: Windows2000 Security event logs
    ... field really populated with the datum username or is ... Subject: Windows2000 Security event logs ... Special privileges assigned to new logon: ... Logon Type: 3 ...
    (Security-Basics)
  • Re: how to pass nt password ?
    ... i logon in xp, run the service locally on xp1 local machine. ... reach out to other machines having similar services and check whether it is ... f) the logonuser fucntion requires username, ... > with the minimum credentials required to operate). ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Password access for folders over network
    ... the network logon always uses the currently logged on user ... but you *can* get it to prompt for the password. ... username, ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Data Type mismatch error?
    ... reference to the DAO ... > 'Your message/actions here for invalid logon ... >you have to step through every record in the recordset ... >> I have logon box which when the user enters a username ...
    (microsoft.public.access.modulesdaovba)
  • Re: Share Point & CRM
    ... I can see that when I try to logon the username area flicks to ... > SBS Newsgroups: ... >>> Installing and Securing Microsoft CRM 1.2 on a Windows Small Business ...
    (microsoft.public.windows.server.sbs)

Quantcast