By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,636 Members | 1,207 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,636 IT Pros & Developers. It's quick & easy.

Accessing logged in user credentials in Windows

P: 1
Is there a way in Javascript through which we can get the userid and password of the logged in user of the windows 2000/2003?

Actually, I have a web application and I need a single signon kind of functionality where when user logs into his domain and opens the web page of the site he should be automtically logged into the website without asking for his userid / password. The web application's userid/password will be same as that of the domain.

Regards,
Deepak
Sep 21 '06 #1
Share this Question
Share on Google+
2 Replies


acoder
Expert Mod 15k+
P: 16,027
Not possible with JavaScript. For an intranet IE-only environment, you could possibly look for an ActiveX solution which might let you access to this information in a trusted zone with low security settings.
May 14 '08 #2

rnd me
Expert 100+
P: 427
if you use iis server, it can provide authentication to any users or gorups that are on the serving machine, but not on the client's machine.

for example to load a secure page from my laptops's iis server using firefox on my desktop, i login (with the same user and password as i do on the laptop) to a pop-up box that appears automatically on the page when navigated/ajax'd.
May 15 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.