Join the Stack Overflow Community
Stack Overflow is a community of 4.7 million programmers, just like you, helping each other.
Join them; it only takes a minute:
Sign up

I have an angular js application and the services are available in a webapi. I have to pass windows user name to the webapi. How can I get the windows user name in the angular js application.

Can any one please give me some idea??

Regards, Ganku

share|improve this question
    
What do you mean with "windows user name"? Please explain – Marcus H 15 hours ago
    
Fortunately browsers do not allow such things. Probably not even Windows. that would be a major security breach as that would allow you to write a web application that gathers information (that you should not have) of the users of your web page. – Hampus 15 hours ago
    
If you are trying to find information about "single sign on" you should google something like "single sign on in microsoft environment". – Hampus 15 hours ago

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.