Windows 95/NT clients & ADSI 
Author Message
 Windows 95/NT clients & ADSI

I'm having problems trying to get '95 clients to access the NT information
in the following script:

Set UserObj = GetObject("WinNT://" & WshNetwork.UserDomain & "/" &
WshNetwork.UserName)

Theoretically, this should return the user name of the person currently
logged into an NT server.  It works great on an NT workstation, but I get a
"syntax error" on a '95 machine.  Is it possible, that it only works on an
NT machine because it's reading the local registry information instead of
picking it up off the login server?  Has anyone got these types of ADSI
functions working on a '95 machine?

Thanks.



Fri, 13 Jul 2001 03:00:00 GMT  
 Windows 95/NT clients & ADSI

  Your syntax is fine. Generally this error is encountered when ADSI is not installed or some files are missing or corrupt. You probably want to reinstall

  Clarence
  Check it out..

  Http://cwashington.netreach.net

  On this site you will find resources for all of your scripting needs. Everything you need to get up and running. Over 100 Sample Scripts, ActiveX controls, reference materials, and technical support via an online discussion lounge.

  [ Win32Scripting... automate!! ]

I'm having problems trying to get '95 clients to access the NT information
in the following script:

Set UserObj = GetObject("WinNT://" & WshNetwork.UserDomain & "/" &
WshNetwork.UserName)

Theoretically, this should return the user name of the person currently
logged into an NT server.  It works great on an NT workstation, but I get a
"syntax error" on a '95 machine.  Is it possible, that it only works on an
NT machine because it's reading the local registry information instead of
picking it up off the login server?  Has anyone got these types of ADSI
functions working on a '95 machine?

Thanks.



Sat, 14 Jul 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Windows NT Password Change From Windows 95 Client

2. Windows NT Users form a Windows 95 / 98 Client

3. Wnetlogon To NT Setver From Windows 95 Client

4. Enumerating NT Server Connections from a Windows 95 Client and VB4.0

5. Visual Basic & IBM Client Access 95/NT

6. it's work with windows NT not with Windows 95

7. adsi & win 95

8. Getting ADSI commands to run in Windows 95

9. ADSI and Windows 98 / 95

10. Getting ADSI commands to run in Windows 95

11. ADSI Security under Windows 95

12. ADSI and Windows 98 / 95

 

 
Powered by phpBB® Forum Software