Hi, this is the relevant part of the script:

; ...
; ... Zuordung User

Select
Case InGroup ("HZ\HZHU_All") ;Domain\Group
$HuUser = 1
$=WriteLine(9,"# @Userid ist aus der Domäne @LDOMAIN, in der OU: Hu @CRLF")
Case 1
$WiUser = 1
$=WriteLine(9,"# @Userid ist aus der Domäne @LDOMAIN, in der OU: Wi @CRLF")
EndSelect

; ...
; ... Gruppenmitgliedschaften -> Ausgabe in Logdatei

$Count = 0
$Y = EnumGroup($Count)
$=WriteLine (9,"@CRLF# @Userid ist Mitglied folgender Gruppen:@CRLF")
While Len($Y)
$=WriteLine (9,"@CRLF $Y")
$Count = $Count + 1
$Y = EnumGroup($Count)
Loop


as i said, it works fine, but there are always the errors in the eventlog.

thanks, rob


Edited by robweg (2005-10-17 03:09 PM)
_________________________
Eternity is a long time, especially towards the end. - W.Allan