1. In which domain is JulesPC a member?
2. What group type is "Accounting" (Global or Local)? Please validate.
3. Verify that the test script was for both version was executed from the same computer.
4. did your group memberships change after you logged on? Please logoff /logon then re-execute the test.
As stated in the threads I attached previously, 4.02 group functions only know about the groups to which you were a member a the time of logon. If your change the memship after logon the 4.02 group functions will not see this change until next logon. Version 3.63 on the other hand always comunicates to the SAM, a slower process that gets update the minute data.
When I run: code:
? "Test EnumGroup"
?
$Index = 0
DO
$Group = ENUMGROUP($Index)
? $Group
$Index=$Index+1
UNTIL Len($Group) = 0
from 3.63 and 4.02 I get the same result, 13 global groups from the account domain where the user account exists. 4.02 also included the local groups to which I was a member on the computer where the script was executed. This is as would expect.