Actually, I think the task would not be above your technical skill level. [Smile]

Try it and see.

Use EnumGroup() and EnumLocalGroup() (if req.) to enumerate the groups to which the user is a member. Examples are in the manual and on the board.

For each group name $grp = GetObject(winnt://domain/groupname). Remove the user $grp.remove(Winnt://domain/user)

[ 15. May 2003, 14:46: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/