Page 1 of 2 12>
Topic Options
#73641 - 2003-02-25 05:49 PM Logon script for multi groups
anwar Offline
Fresh Scripter

Registered: 2003-02-25
Posts: 17
Loc: texas
I have written a script that was suppose to map drive to different groups depending on which group the user belong to. The operating systems that are on the workstations are XP pro and 2000 pro. However though when the script is ran only the first set of code is ran to office Staff. If the users are not in the Office staff group then their drive is not mapping. Can any one help me? Either you can post it to this bulletin board or email at anwar@josmithinsurance.com

SetConsole ("HIDE")

If INGROUP ("Office Staff")
USE P: /delete
USE P: "\\josmith1\Jo Smith &
Associates\Public"
USE O: /delete
USE O: "\\josmith1\Jo Smith & Associates\OfficeStaff"
USE S: /delete
USE S: "\\josmith1\Jo Smith &
Associates\ScanDocs"
USE N: /delete
USE N: "\\josmith1\Jo Smith &
Associates\Temp Employees"

If INGROUP ("Call Center")
USE P: /delete
USE P: "\\josmith1\Jo Smith &
Associates\Public"
USE T: /delete
USE T: "\\josmith1\Jo Smith &
Associates\CallCenter"
USE S: /delete
USE S: "\\josmith1\Jo Smith &
Associates\ScanDocs"
USE N: /delete
USE N: "\\josmith1\Jo Smith &
Associates\Temp Employees"

If INGROUP ("CCAdmin")
USE J: /delete
USE J: "\\josmith1\Jo Smith &
Associates\Jo Doc"
USE P: /delete
USE P: "\\josmith1\Jo Smith &
Associates\Public"
USE T: /delete
USE T: "\\josmith1\Jo Smith &
Associates\CallCenter"
USE S: /delete
USE S: "\\josmith1\Jo Smith &
Associates\ScanDocs"
USE M: /delete
USE M: "\\josmith1\Jo Smith &
Associates\Accounting"
USE N: /delete
USE N: "\\josmith1\Jo Smith &
Associates\Temp Employees"

If INGROUP ("Office Admin")
USE J: /delete
USE J: "\\josmith1\Jo Smith &
Associates\Jo Doc"
USE P: /delete
USE P: "\\josmith1\Jo Smith &
Associates\Public"
USE O: /delete
USE O: "\\josmith1\Jo Smith &
Associates\OfficeStaff"
USE S: /delete
USE S: "\\josmith1\Jo Smith &
Associates\ScanDocs"
USE M: /delete
USE M: "\\josmith1\Jo Smith &
Associates\Accounting"
USE N: /delete
USE N: "\\josmith1\Jo Smith &
Associates\Temp Employees"

If INGROUP ("President")
USE J: /delete
USE J: "\\josmith1\Jo Smith &
Associates\Jo Doc"
USE P: /delete
USE P: "\\josmith1\Jo Smith &
Associates\Public"
USE S: /delete
USE S: "\\josmith1\Jo Smith &
Associates\ScanDocs"
USE M: /delete
USE M: "\\josmith1\Jo Smith &
Associates\Accounting"
USE N: /delete
USE N: "\\josmith1\Jo Smith &
Associates\Temp Employees"
EndIf

EXIT

Top
#73642 - 2003-02-25 05:57 PM Re: Logon script for multi groups
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Each IF requires a corrsponding ENDIF. This is explained in the KiXtart Manual.
Thus
code:
$rc=SetConsole('HIDE')

If INGROUP('Office Staff')
USE P: /delete
USE P: '\\josmith1\Jo Smith & Associates\Public'
USE O: /delete
USE O: '\\josmith1\Jo Smith & Associates\OfficeStaff'
USE S: /delete
USE S: '\\josmith1\Jo Smith & Associates\ScanDocs'
USE N: /delete
USE N: '\\josmith1\Jo Smith & Associates\Temp Employees'
ENDIF
If INGROUP('Call Center')
USE P: /delete
USE P: '\\josmith1\Jo Smith & Associates\Public'
USE T: /delete
USE T: '\\josmith1\Jo Smith & Associates\CallCenter'
USE S: /delete
USE S: '\\josmith1\Jo Smith & Associates\ScanDocs'
USE N: /delete
USE N: '\\josmith1\Jo Smith & Associates\Temp Employees'
ENDIF
If INGROUP('CCAdmin')
USE J: /delete
USE J: '\\josmith1\Jo Smith & Associates\Jo Doc'
USE P: /delete
USE P: '\\josmith1\Jo Smith & Associates\Public'
USE T: /delete
USE T: '\\josmith1\Jo Smith & Associates\CallCenter'
USE S: /delete
USE S: '\\josmith1\Jo Smith & Associates\ScanDocs'
USE M: /delete
USE M: '\\josmith1\Jo Smith & Associates\Accounting'
USE N: /delete
USE N: '\\josmith1\Jo Smith & Associates\Temp Employees'
ENDIF
If INGROUP('Office Admin')
USE J: /delete
USE J: '\\josmith1\Jo Smith & Associates\Jo Doc'
USE P: /delete
USE P: '\\josmith1\Jo Smith & Associates\Public'
USE O: /delete
USE O: '\\josmith1\Jo Smith & Associates\OfficeStaff'
USE S: /delete
USE S: '\\josmith1\Jo Smith & Associates\ScanDocs'
USE M: /delete
USE M: '\\josmith1\Jo Smith & Associates\Accounting'
USE N: /delete
USE N: '\\josmith1\Jo Smith & Associates\Temp Employees'
ENDIF
If INGROUP('President')
USE J: /delete
USE J: '\\josmith1\Jo Smith & Associates\Jo Doc'
USE P: /delete
USE P: '\\josmith1\Jo Smith & Associates\Public'
USE S: /delete
USE S: '\\josmith1\Jo Smith & Associates\ScanDocs'
USE M: /delete
USE M: '\\josmith1\Jo Smith & Associates\Accounting'
USE N: /delete
USE N: '\\josmith1\Jo Smith & Associates\Temp Employees'
EndIf

EXIT

Also, please take a look at the FAQ Forum and read those posts as they contain valuable information for you. They will solve a couple fo other problems that are present in your code.

You might also want ot make yoiurself familiar with the differences between IF-ENDIF and SELECT-CASE-ENDSELECT. You should also consolidate your mappings as you're mapping the same drives for multiple groups.

[ 25. February 2003, 19:09: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.

Top
#73643 - 2003-02-25 06:19 PM Re: Logon script for multi groups
anwar Offline
Fresh Scripter

Registered: 2003-02-25
Posts: 17
Loc: texas
I have add the EndIf to my script and it still will not map the drives what am I doing wrong beside being fustrated [Mad]
Top
#73644 - 2003-02-25 06:24 PM Re: Logon script for multi groups
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Do some debugging!

Put DEBUG ON into the first line of your code and step through the code. Check what INGROUP returns for the different users. Make sure to refresh the token cache as explained in the Manual. Make sure that the script actually runs. Test it all from the command line.
_________________________
There are two types of vessels, submarines and targets.

Top
#73645 - 2003-02-25 07:01 PM Re: Logon script for multi groups
anwar Offline
Fresh Scripter

Registered: 2003-02-25
Posts: 17
Loc: texas
I have used the "debug On" command and recieved this msg.:
"'\\JoSmith1\Netlogon'
CMD.exe was started with the above path as the current directory. UNC path are not supported. Defaulting to Windows directory."

I deleted the Kixtart Key in using the regedit command to clear the token Cache and nothing has worked yet except for the first bit of coding mapping drives for the Office Staff group. I really need the help of the force. [Confused]

Top
#73646 - 2003-02-25 07:05 PM Re: Logon script for multi groups
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Please repost the code as you now have it written. Please place the code within the CODE tags. If you do not know how to use the code tags read the BBS help or ask.

[ 25. February 2003, 19:06: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#73647 - 2003-02-25 07:11 PM Re: Logon script for multi groups
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Is the account that you test it with actually a member of the groups?

Just check the INGROUPs
code:
? 'Office Staff = '+INGROUP('Office Staff')
? 'Call Center = '+INGROUP('Call Center')
; and so on



[ 25. February 2003, 19:46: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.

Top
#73648 - 2003-02-25 07:39 PM Re: Logon script for multi groups
anwar Offline
Fresh Scripter

Registered: 2003-02-25
Posts: 17
Loc: texas
code:
SetConsole ("HIDE")

If INGROUP ("Office Staff")
USE P: /delete
USE P: "\\josmith1\Jo Smith & Associates\Public"
USE O: /delete
USE O: "\\josmith1\Jo Smith & Associates\OfficeStaff"
USE S: /delete
USE S: "\\josmith1\Jo Smith & Associates\ScanDocs"
USE N: /delete
USE N: "\\josmith1\Jo Smith & Associates\Temp Employees"
EndIF

If INGROUP ("Call Center")
USE P: /delete
USE P: "\\josmith1\Jo Smith & Associates\Public"
USE T: /delete
USE T: "\\josmith1\Jo Smith & Associates\CallCenter"
USE S: /delete
USE S: "\\josmith1\Jo Smith & Associates\ScanDocs"
USE N: /delete
USE N: "\\josmith1\Jo Smith & Associates\Temp Employees"
EndIf

If INGROUP ("CCAdmin")
USE J: /delete
USE J: "\\josmith1\Jo Smith & Associates\Jo Doc"
USE P: /delete
USE P: "\\josmith1\Jo Smith & Associates\Public"
USE T: /delete
USE T: "\\josmith1\Jo Smith & Associates\CallCenter"
USE S: /delete
USE S: "\\josmith1\Jo Smith & Associates\ScanDocs"
USE M: /delete
USE M: "\\josmith1\Jo Smith & Associates\Accounting"
USE N: /delete
USE N: "\\josmith1\Jo Smith & Associates\Temp Employees"
EndIF

If INGROUP ("Office Admin")
USE J: /delete
USE J: "\\josmith1\Jo Smith & Associates\Jo Doc"
USE P: /delete
USE P: "\\josmith1\Jo Smith & Associates\Public"
USE O: /delete
USE O: "\\josmith1\Jo Smith & Associates\OfficeStaff"
USE S: /delete
USE S: "\\josmith1\Jo Smith & Associates\ScanDocs"
USE M: /delete
USE M: "\\josmith1\Jo Smith & Associates\Accounting"
USE N: /delete
USE N: "\\josmith1\Jo Smith & Associates\Temp Employees"
EndIf

If INGROUP ("President")
USE J: /delete
USE J: "\\josmith1\Jo Smith & Associates\Jo Doc"
USE P: /delete
USE P: "\\josmith1\Jo Smith & Associates\Public"
USE S: /delete
USE S: "\\josmith1\Jo Smith & Associates\ScanDocs"
USE M: /delete
USE M: "\\josmith1\Jo Smith & Associates\Accounting"
USE N: /delete
USE N: "\\josmith1\Jo Smith & Associates\Temp Employees"
EndIf

EXIT

The above code is what I am trying to use. Only the first set of code is being ran which is the Office staff group. The user are members of the groups that need to have the mapped drives and still nothing [Confused]

Top
#73649 - 2003-02-25 07:48 PM Re: Logon script for multi groups
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
You already stated that. Did you try the suggestion I provided in my last post? What happens if you run it in debug mode as I also suggested?
_________________________
There are two types of vessels, submarines and targets.

Top
#73650 - 2003-02-25 08:10 PM Re: Logon script for multi groups
anwar Offline
Fresh Scripter

Registered: 2003-02-25
Posts: 17
Loc: texas
I receive the following msg.:

'\\Josmith1\netlogon'
CMD.EXE was started with the above path as the current directory. UNC path are not supported. Defaulting to Windows diretory.

C:\Windows>debug on
_file not found

Then that all I get.
The batch code I am debugging is this:
code:
debug on
@echo off
CLS
IF EXIST %WINDIR%\SYSTEM32\KIX32.EXE GOTO RunScripts
IF EXIST C:\WINDOWS\SYSTEM32\KIX32.EXE GOTO WINDOWS
IF "%OS%" == "Windows_XP" GOTO xplogon
xcopy \\josmith1\KIXTART\KIX32.EXE %WINDIR%\SYSTEM32\ /D/H/I/R/V > NUL

GOTO xplogon
:xplogon
xcopy \\josmith1\KIXTART\KIX32.EXE C:\WINDOWS\SYSTEM32\ /D/H/I/R/V > NUL


GOTO WINDOWS
:WINDOWS
echo Loading Logon Scripts, Please Wait....
C:\WINDOWS\SYSTEM32\KIX32.EXE \\josmith1\KIXTART\joscript.kix


GOTO RunScripts
:RunScripts
echo Loading Logon Scripts, Please Wait....
%WINDIR%\SYSTEM32\KIX32.EXE \\josmith1\KIXTART\joscript.kix



echo on

I am trying to map drives to XP and 2000 workstations [Confused]

Top
#73651 - 2003-02-25 08:15 PM Re: Logon script for multi groups
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Save and then execute this script in a DOS window. Post the resulting log file (%temp%\logon.log)

code:
SetConsole ("HIDE")

; Drives N:, P:, S: were listed in each group so I placed it in the script only once
MapDrive("N:", "josmith1", "Jo Smith & Associates\Temp Employees")
MapDrive("P:", "josmith1", "Jo Smith & Associates\Public")
MapDrive("S:", "josmith1", "Jo Smith & Associates\ScanDocs")

If INGROUP ("Office Staff")
WriteLog("member of 'Office Staff'")
MapDrive("O:", "josmith1", "Jo Smith & Associates\OfficeStaff")
Else
WriteLog("Not a member of 'Office Staff'")
EndIF

If INGROUP ("Call Center")
WriteLog("member of 'Call Center'")
MapDrive("T:", "josmith1", "Jo Smith & Associates\CallCenter")
Else
WriteLog("Not a member of 'Call Center'")
EndIf

If INGROUP ("CCAdmin")
WriteLog("member of 'CCAdmin'")
MapDrive("J:", "josmith1", "Jo Smith & Associates\Jo Doc")
MapDrive("T:", "josmith1", "Jo Smith & Associates\CallCenter")
MapDrive("M:", "josmith1", "Jo Smith & Associates\Accounting")
Else
WriteLog("Not a member of 'CCAdmin'")
EndIF

If INGROUP ("Office Admin")
WriteLog("member of 'Office Admin'")
MapDrive("J:", "josmith1", "Jo Smith & Associates\Jo Doc")
MapDrive("O:", "josmith1", "Jo Smith & Associates\OfficeStaff")
MapDrive("M:", "josmith1", "Jo Smith & Associates\Accounting")
Else
WriteLog("Not a member of 'Office Admin'")
EndIf

If INGROUP ("President")
WriteLog("member of 'President'")
MapDrive("J:", "josmith1", "Jo Smith & Associates\Jo Doc")
MapDrive("M:", "josmith1", "Jo Smith & Associates\Accounting")
Else
WriteLog("Not a member of 'President'")
EndIf

;-------------------------------------------------------------------------------------------

Function MapDrive($Drive, $Server, $Share)
Dim $Drive, $Server, $Share
Color c+/n
If $Drive<>"" and $Server<>"" and $Share<>""
$LogText="Connecting $Drive to \\$Server\$Share"
? $LogText
USE $Drive /Delete /Persistent
USE $Drive "\\$Server\$Share"
If @error=0
color g+/n
$x=" - Success"
"$x"
Else
color r+/n
$x=" - Failed: Error @error"
"$x"
$ErrorState=1
Endif
WriteLog ($LogText + $x)
Color w+/n
Else
WriteLog ("Function 'MapDrive' called with invalid parameters: '$Drive', '$Server', '$Share'")
Endif
Endfunction

Function WriteLog($text)
dim $RC, $text, $LogFile, $Filehandle
$Filehandle = 1
$LogFile = "%temp%\logon.log"
$RC=Writeline ($Filehandle, "@Date @Time - $Text" + Chr(13) + Chr(10))
if $RC<0
$RC=Close ($Filehandle)
$RC=Open ($Filehandle, $LogFile, 5)
Select
Case $RC=-1
$RC=MessageBox ("Invalid file name ($LogFile) specified for log file.","Logon Script Error",48)
Case $RC=0
WriteLog ($Text)
Case $RC=>0
$RC=MessageBox ("Error($RC) while attempting to open log file ($LogFile).","Logon Script Error",48)
Endselect
Endif
EndFunction



[ 01. March 2003, 14:28: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#73652 - 2003-02-25 08:25 PM Re: Logon script for multi groups
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Yeez, you're batch file is so messed up I wouldn't be surprised if it didn't even work.

You need administrative privileges in order to copy to the SYSTEM32 directory. There are a couple of login.bat files already posted that work under all versions of Windows.

Also, you shoudl test your script by just calling it directly from the command line. Also, take you time and read the KiXtart Manual. DEBUG ON goes into youre KiXtart code.

Why do you differ beween OSes if you do the same with them anyway?

Finally, it is recommended to put the login files into NETLOGON.

Pleas read the FAQ Forum. The threads posted there will help you solve your problems.

Thus:
1) Read!
2) Got your batch file working
3) Test your script from the command line without a batch file
4) Test it together
_________________________
There are two types of vessels, submarines and targets.

Top
#73653 - 2003-02-25 08:54 PM Re: Logon script for multi groups
anwar Offline
Fresh Scripter

Registered: 2003-02-25
Posts: 17
Loc: texas
code:
SetConsole ("HIDE")
; Drives N:, P:, S: were listed in each group so I placed it in the script only once
MapDrive("N:", "josmith1", "Jo Smith & Associates\Temp Employees")
MapDrive("P:", "josmith1", "Jo Smith & Associates\Public")
MapDrive("S:", "josmith1", "Jo Smith & Associates\ScanDocs")
If INGROUP ("Office Staff")
WriteLog("member of 'Office Staff'")
MapDrive("O:", "josmith1", "Jo Smith & Associates\OfficeStaff")
Else
WriteLog("Not a member of 'Office Staff'")
EndIF
If INGROUP ("Call Center")
WriteLog("member of 'Call Center'")
MapDrive("T:", "josmith1", "Jo Smith & Associates\CallCenter")
Else
WriteLog("Not a member of 'Call Center'")
EndIf
If INGROUP ("CCAdmin")
WriteLog("member of 'CCAdmin'")
MapDrive("J:", "josmith1", "Jo Smith & Associates\Jo Documents")
MapDrive("T:", "josmith1", "Jo Smith & Associates\CallCenter")
MapDrive("M:", "josmith1", "Jo Smith & Associates\Accounting")
Else
WriteLog("Not a member of 'CCAdmin'")
EndIF
If INGROUP ("Office Admin")
WriteLog("member of 'Office Admin'")
MapDrive("J:", "josmith1", "Jo Smith & Associates\Jo Docucments")
MapDrive("O:", "josmith1", "Jo Smith & Associates\OfficeStaff")
MapDrive("M:", "josmith1", "Jo Smith & Associates\Accounting")
Else
WriteLog("Not a member of 'Office Admin'")
EndIf
If INGROUP ("President")
WriteLog("member of 'President'")
MapDrive("J:", "josmith1", "Jo Smith & Associates\Jo Documents")
MapDrive("M:", "josmith1", "Jo Smith & Associates\Accounting")
Else
WriteLog("Not a member of 'President'")
EndIf
;-------------------------------------------------------------------------------------------
Function MapDrive($Drive, $Server, $Share)
Dim $Drive, $Server, $Share
Color c+/n
If $Drive<>"" and $Server<>"" and $Share<>""
$LogText="Connecting $Drive to \\$Server\$Share"
? $LogText
USE $Drive /Delete /Persistent
USE $Drive "\\$Server\$Share"
If @error=0
color g+/n
$x=" - Success"
"$x"
Else
color r+/n
$x=" - Failed: Error @error"
"$x"
$ErrorState=1
Endif
WriteLog ($LogText + $x)
Color w+/n
Else
WriteLog ("Function 'MapDrive' called with invalid parameters: '$Drive', '$Server', '$Share'")
Endif
EndfunctionFunction WriteLog($text)
dim $RC, $text, $LogFile, $Filehandle
$Filehandle = 1
$LogFile = "%temp%\logon.log"
$RC=Writeline ($Filehandle, "@Date @Time - $Text" + Chr(13) + Chr(10))
if $RC<0
$RC=Close ($Filehandle)
$RC=Open ($Filehandle, $LogFile, 5)
Select
Case $RC=-1
$RC=MessageBox ("Invalid file name ($LogFile) specified for log file.","Logon Script Error",48)
Case $RC=0
WriteLog ($Text)
Case $RC=>0
$RC=MessageBox ("Error($RC) while attempting to open log file ($LogFile).","Logon Script Error",48)
Endselect
Endif
EndFunction

I did what you instructed, but when I ran it in DOS I received errors. Maybe I didn't do it right. I copied it and pasted it in [Confused] DOS [Confused] [Confused]

Top
#73654 - 2003-02-25 08:59 PM Re: Logon script for multi groups
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
What do you mean by
quote:
I copied it and pasted it in DOS
?

Why don't you start by reading the KiXtart Manual and the FAQ Forum as I already asked you to do.

Then write a very simple KiXtart script like
code:
? 'Hello '+@USERID

and run this from the command prompt.

Then start working on your login.bat file by looking at reference implementations that have been posted here. Search for login.bat or logon.bat in the subject line with the KiXtart BBS Search.

Once you've got the simple stuff working, you vcna expand your login script.

All the resources you need are eihter in the KiXtart Manual or on this BBS. So, please take the time and do what I suggested.

[ 25. February 2003, 21:01: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.

Top
#73655 - 2003-02-25 09:00 PM Re: Logon script for multi groups
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
The text I posted is a KiXtart script is it not? You will have to save the text as a file - maybe named test.kix?

Then open a DOS window, change to the directory where you saved 'test.kix'.

execute "Kix32 test.kix"

Maybe you should review some of the KiXtart FAQs and HowTo's

http://www.kixtart.org/board/ultimatebb.php?ubb=get_topic;f=10;t=000025
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#73656 - 2003-02-25 09:02 PM Re: Logon script for multi groups
anwar Offline
Fresh Scripter

Registered: 2003-02-25
Posts: 17
Loc: texas
I do have administrative privilleges and the KIX32 is coping to the SYSTEM32 file. The script works if I only had one group to map but I don't and that is were the problem is. Everyone in the office staff group are getting the mapped drives but all the other groups are not.
Top
#73657 - 2003-02-25 09:05 PM Re: Logon script for multi groups
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Anwar: You're not really helping us here.

Earlier on, I asked you to check teh return codes form all the INGROUPs. Have you done this? Where are the results? What are the results of running the KiXtart code with DEBUG ON in the first line?

We can't help you if you cannot follow our suggestions and report back the exact results. you're just repeating that 'something' doesn't work.
_________________________
There are two types of vessels, submarines and targets.

Top
#73658 - 2003-02-25 09:42 PM Re: Logon script for multi groups
anwar Offline
Fresh Scripter

Registered: 2003-02-25
Posts: 17
Loc: texas
I have ran the DEBUG ON command on my kixtart script and the result is 0 . So does that mean there were no errors detected in my script?
Top
#73659 - 2003-02-25 09:45 PM Re: Logon script for multi groups
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
If you execute the test script I posted. You will have a log of the scripts execution that will shed light on what might be or not be happening.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#73660 - 2003-02-25 09:46 PM Re: Logon script for multi groups
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
What result?

DEBUG ON allows you to step through the code and see which lines are executed. Additionally, you can print out the contents of variables and function results.

I'm sorry, but apparently I am unable to help you anymore.
_________________________
There are two types of vessels, submarines and targets.

Top
Page 1 of 2 12>


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 973 anonymous users online.
Newest Members
batdk82, StuTheCoder, M_Moore, BeeEm, min_seow
17885 Registered Users

Generated in 0.135 seconds in which 0.107 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org