Finding User login ID

P

Prab_kar

Hello all,
I'm new to Javascript.

I'm trying to make some changes to the Javascript portion of our
corporate intranet site and I'm trying to find if theres a way to find
the User's login id from a Javascript function?

If not, is there a way to run a 'echo %USERNAME%' from DOS command
window and obtain the output. I realize there's an inherent security
risk if Javascript were to allow that.

Am I barking on a completely wrong tree, is NTLM authentication what I
should be looking at?

Basically, I need to get the user id without the user having to supply
it on the page manually. Can this be automated?
Thanks for your time,
Prabh
 
S

Steve van Dongen

Hello all,
I'm new to Javascript.

I'm trying to make some changes to the Javascript portion of our
corporate intranet site and I'm trying to find if theres a way to find
the User's login id from a Javascript function?

If not, is there a way to run a 'echo %USERNAME%' from DOS command
window and obtain the output. I realize there's an inherent security
risk if Javascript were to allow that.

Am I barking on a completely wrong tree, is NTLM authentication what I
should be looking at?

Basically, I need to get the user id without the user having to supply
it on the page manually. Can this be automated?
Thanks for your time,
Prabh

http://groups-beta.google.com/group...1d763be6/f3691b391bc02cf2?&d#f3691b391bc02cf2

Regards,
Steve
 
P

Prab_kar

Thanks a lot for your reply, Steve.
Unfortunately, I'm not in a position to use ASP and my browser falls
into the high security category.
Any idea if the NTLM authentication is a good fit?
Thanks for your time,
Prabh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top