this works...

for each $obj in WMIQuery('fullname', 'Win32_UserAccount',, 'name', @userid)
? $obj
next

and this sort of works...
for each $obj in WMIQuery('PartComponent', 'Win32_GroupUser',)
? $obj
next

[ 18. June 2003, 16:06: Message edited by: Radimus ]
_________________________
How to ask questions the smart way <-----------> Before you ask