AZGroups.com

Bringing together Arizona Technology Users And Enhancing the Careers of Developers
Welcome to AZGroups.com Sign in | Join | Help
in Search

IIS Issue: WindowsIdentity Name returning NT AUTHORITY\SYSTEM

Last post 08-06-2007, 9:27 AM by Douglas Klugh. 2 replies.
Sort Posts: Previous Next
  •  03-15-2007, 12:16 PM 750

    IIS Issue: WindowsIdentity Name returning NT AUTHORITY\SYSTEM

    Does anyone know why System.Security.Principal.WindowsIdentity.GetCurrent().Name would return “NT AUTHORITY\SYSTEM”?  When testing on my local server, my Windows ID is returned as expected.  However when running on an Intranet server, it returns “NT AUTHORITY\SYSTEM”.

     

    Any suggestions on how to get the user’s Windows ID?!?

     

    TIA,

    Doug


    Douglas E. Klugh
    Assistant Vice President
    Wells Fargo
    Filed under:
  •  08-03-2007, 9:35 AM 812 in reply to 750

    Re: IIS Issue: WindowsIdentity Name returning NT AUTHORITY\SYSTEM

    I am experiencing the same issue...   Can anyone offer up some suggestions?
  •  08-06-2007, 9:27 AM 813 in reply to 812

    Re: IIS Issue: WindowsIdentity Name returning NT AUTHORITY\SYSTEM

    I resolved this issue (a day after my posting) by adding the following three lines to my web.config:

    <identity impersonate="true"/>
    <authentication mode="Windows"/>
    <anonymousIdentification enabled="false"/>

    <identity impersonate="true"/>
    <authentication mode="Windows"/>
    <anonymousIdentification enabled="false"/>


    Douglas E. Klugh
    Assistant Vice President
    Wells Fargo
    Filed under:
  • View as RSS news feed in XML
    Powered by Community Server, by Telligent Systems