Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9247075
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T09:38:34+00:00 2026-06-18T09:38:34+00:00

I have a small in-house application and I need to know which domain user

  • 0

I have a small in-house application and I need to know which domain user is accessing the site, without requiring site authentication- I just need to know who they are logged onto their machine as, and capture that info. This is just for logging, not for any kind of access control. Within the company this is just an open site.

Is there a simple way from a Web.API app controller to find out who is the current domain user on the machine? Do I need to configure something in my web.config?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T09:38:35+00:00Added an answer on June 18, 2026 at 9:38 am

    This is not possible, or at least not possible reliably.

    First, the only way to get the user is actually use windows authentication and force them to log in. You can use Windows pass-through authentication, but that only works with Internet Explorer, and it only works in very specific domain configurations. Even then, sometimes it doesn’t work. When it doesn’t work (if they’re using chrome or ff or just don’t have the browser configured correctly) it will force them to login with their credentials. This is the only way.

    This could also be done with an ActiveX control, but again that only works in IE, and most corporate environments are not keen about activex anymore. It could work with Java (not javascript) but given the recent security issues with Java, maybe not a good idea either.

    In any event, there is no real foolproof way to do this. Only a bunch of different kinda-sorta ways that may or may not work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a small in-house Python script for Linux that creates a /home/user/environ_script.sh file
I have small script in bash, which is generating graphs via gnuplot. Everything works
I have small question. When I started to programm my application, I grouped types
I have small class called 'Call' and I need to store these calls into
I have a small program to build a house. A house will have many
I have just started working with a new company in a very small IT
I have a rails application that models a house. house contains rooms and rooms
I have a database of nouns (ex house, exclamation point, apple) that I need
Let's say I have a House entity which maps to many Person entities. I
I'm using sqlite for a small validation application. I have a simple one table

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.