I need help in javascript

J

jacob

Hello all
How i can get current username from win2000/xp
in javascript
best regards
 
R

Randy Webb

jacob said:
Hello all
How i can get current username from win2000/xp
in javascript

The same way you get it in the other post you made asking this same
question.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq
Answer:It destroys the order of the conversation
Question: Why?
Answer: Top-Posting.
Question: Whats the most annoying thing on Usenet?
 
G

Grant Wagner

from the system not from the user

You can't in a cross-platform, cross-browser way in the default security
configuration.

Even using a particular platform (Windows) and a particular browser
(IE), you still cannot in the default security configuration.

You would have to reduce the security settings to a laughably low level,
or add the site to the list of Trusted sites to get it to even prompt
you to allow the ActiveX control needed to make it work to run.

To reduce your security settings:

Tools > Internet Options...
Security tab
Internet zone
Custom Level...
Under ActiveX controls and plug-ins
Locate "Initialize and script ActiveX controls not marked as safe for
scripting"
Set it to "Prompt" (or "Enable" if you really enjoy having your computer
taken over by everyone else on the Internet)

To add your site to Trusted Sites:

Tools > Internet Options...
Security tab
Trusted sites zone
Sites...
Type the site, click Add

Note that for a corporate environment, the corporate Intranet could be
added to everyone's computer using Group Policies.
 

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
473,781
Messages
2,569,615
Members
45,299
Latest member
JewelDeLaC

Latest Threads

Top