Wrox Programmer Forums
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 14th, 2004, 07:46 AM
Friend of Wrox
Join Date: May 2004
Posts: 212
Thanks: 0
Thanked 0 Times in 0 Posts
Default Network UserName in NT4

Anyone know if you can get this from the API using an ActiveX control?


\'sync\' <cr>
The name specified is not recognized as an internal or external command, operable program or batch file.
Old October 14th, 2004, 08:37 AM
joefawcett's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts

With security settings "Initialise and script ActiveX controls not marked as safe":
var oNetwork = new ActiveXObject("WScript.Network");

Old October 22nd, 2004, 09:30 AM
Registered User
Join Date: Oct 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

This does not work for Nescape as Netscape does not support ActiveX. Is there any other way to do this for Netscape?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Get the username connected to the network from asp Timbo Classic ASP Basics 2 October 31st, 2005 09:28 AM
.NET-made COM deployed on NT4 - possible? techsavy VB.NET 2002/2003 Basics 0 September 9th, 2004 04:25 AM
Username Changes Ben Horne Forum and Wrox.com Feedback 2 March 12th, 2004 12:20 PM
NT4.0 Pankaj Apache Tomcat 0 July 30th, 2003 06:56 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.