Jens, based in the test code I furnished and the posted results, I think that the DelProgramGroup function is returning 0=fail 1=success. DOCs are wrong in this case.

I agree with you that the RunLoginScriptSync setting could be skewing the problem by changing the ability to delete the group. In this case the function is reporting 0=Fail and pring the text of the supposed action.

[ 28. July 2003, 22:20: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/