Hi Guys!

You have probable heard this thing lots of times, but i kindof didn't find anything fitting for my situation. My setup is simple i want to check whether a user is in a group:
ingroup("mydomain\somegroup")

the problem is that somegroup is a universial group which i am also member of. if i run the script ingroup reports a 0 (no member) - if i try it at my collegue it works (result 1) the only difference is that he runs windows7 and i run WinXP.
And Yes i've tried the /f and /f: options. The Group doesnt show in the tokencache as well as in enumgroup() which will give the same results i guess...

anyone got any clues? Code Below:

regards!

 Code:
IF INGROUP("DOMAIN\Navision")
	?"Navision Member"
		IF READPROFILESTRING("\\stor03\StartupInfo\navVersion.ini", "USERS", "@USERID") < 1
			WRITEPROFILESTRING("\\stor03\StartupInfo\navVersion.ini","USERS","@USERID","0")
		ENDIF
		IF EXIST ("%APPDATA%\fin.zup")
			IF NOT EXIST ("\\stor02\navforms\zup\prod\%username%.zup") 
				copy "%APPDATA%\fin.zup" "\\stor02\navforms\zup\prod\%username%.zup"	
			ENDIF
			IF NOT EXIST ("\\stor02\navforms\zup\test\%username%.zup")
				copy "%APPDATA%\fin.zup" "\\stor02\navforms\zup\Test\%username%.zup"	
			ENDIF
			IF NOT EXIST ("\\stor02\navforms\zup\FR\prod\%username%.zup")
				copy "%APPDATA%\fin.zup" "\\stor02\navforms\zup\FR\prod\%username%.zup"	
			ENDIF
			IF NOT EXIST ("\\stor02\navforms\zup\FR\test\%username%.zup")
				copy "%APPDATA%\fin.zup" "\\stor02\navforms\zup\FR\test\%username%.zup"	
			ENDIF
		ENDIF
ENDIF


Edited by zwu (2009-11-13 11:12 AM)
Edit Reason: forgot code