Script Error - Maybe Group Policy?
From: Bishop (kenw_at_dcnconsulting.com)
Date: 09/28/04
- Next message: Jason Benway: "memory banks?"
- Previous message: Stephen: "Re: Opening up files on a web server using window.open(file:///G:\"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 28 Sep 2004 08:50:53 -0600
I have a script that starts like this:
Dim wshNetwork, ADSysInfo, CurrentUser, objUser
Set wshNetwork = CreateObject("WScript.Network")
Set ADSysInfo = CreateObject("ADSystemInfo")
Set objUser = GetObject ("LDAP://" & ADSysInfo.UserName)
Set ADSysInfo = CreateObject("ADSystemInfo")
Set CurrentUser = GetObject("LDAP://" & ADSysInfo.UserName)
strGroups = LCase(Join(CurrentUser.MemberOf))
I get an error on the last line with the Join command. I had this error
before and upgrading to scripting engine 5.6 solved the problem. In this
case it's a little different. When I'm logged in as a domain administrator
to the XP SP1 computer the script runs without issue. When I'm logged in as
a standard user that has the Group Policy applied I get the Join error.
Any thoughts on what might be causing the problem?
- Next message: Jason Benway: "memory banks?"
- Previous message: Stephen: "Re: Opening up files on a web server using window.open(file:///G:\"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|