Authenticating user by AD returns server user instead of local user

Asked

Viewed 60 times

2

I have a web application that validates the user logged in to the machine, loads their permissions and opens the screens you are allowed, without using login screen.

Caught the user with User.Identity.Name from that return I seek the permissions.

In local environment (development) the application picks up my user correctly. However, when the application is published on the server, it takes the server user and not the one on my local machine.

How do I make the application catch my local user even though it (application) is published on the server? It is possible to do this?

1 answer

1


Browser other questions tagged

You are not signed in. Login or sign up in order to post.