Windows username using Ajax + call C#

I have a web platform running on a server and I need to get the Windows username of the user who just connected to the web and then send it to a C# function.

Do you know how I can perform these two actions (take the connected person's windows user + call a C# function sending the user)? I thought about using Ajax, but I'm pretty lost.

Thank you so much!



Read more here: https://stackoverflow.com/questions/65727061/windows-username-using-ajax-call-c-sharp

Content Attribution

This content was originally published by Jfka at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: