Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
All Properties
Property: WshNetwork.UserDomain
WshNetwork.
UserDomain
The
UserDomain
property
is read only
and returns a string that is the current user's domain.
The following JScript code illustrates the use of this property under WSH 2.0 on a Windows 2000 system.
Code:
WScript.Echo("UserDomain =", WshNetwork.UserDomain)
Output:
UserDomain = MYDOMAIN
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information