none
Getting the logged-in user's name of Windows non-AD accounts RRS feed

  • Question

  • Hello All,

    Is there are way to get the windows username (non-AD) of the client machine by using an ASP .Net application.

    We don't want to use any authentication, we just need to retrieve the windows user name of the client accessing our application and display the content accordingly.

    Thanks,

    Bidya

    Wednesday, December 17, 2014 1:37 PM

Answers

  • No.  IIS cannot access remote machines for obvious reasons. You can only get what the browser publishes.  You can force authentication and then the server will know the user.  YOu can aslo develop a custom control that canbe installed on the user system that can send back almost any information.

    IIS questions should be asked in the IIS forums.  This is not an IIS forum.

    http://forums.iis.net/


    ¯\_(ツ)_/¯

    • Proposed as answer by Mike Laughlin Wednesday, December 17, 2014 2:06 PM
    • Marked as answer by Bidehalaxmi Thursday, December 18, 2014 6:13 AM
    Wednesday, December 17, 2014 1:53 PM

All replies

  • No.  IIS cannot access remote machines for obvious reasons. You can only get what the browser publishes.  You can force authentication and then the server will know the user.  YOu can aslo develop a custom control that canbe installed on the user system that can send back almost any information.

    IIS questions should be asked in the IIS forums.  This is not an IIS forum.

    http://forums.iis.net/


    ¯\_(ツ)_/¯

    • Proposed as answer by Mike Laughlin Wednesday, December 17, 2014 2:06 PM
    • Marked as answer by Bidehalaxmi Thursday, December 18, 2014 6:13 AM
    Wednesday, December 17, 2014 1:53 PM
  • Thanks for your response. I was unaware of the IIS forum. Now I have posted the question in IIS forum.

    Thursday, December 18, 2014 6:13 AM