Hi guys again,

I need to initially retrieve all of the information I can from SAM for all users, not just one, so need to wrap a 'for each user in domain' type loop around Shawn's code but have not yet managed to achieve this. Any suggestions?

Also can you provide object names for the winnt://domain object? Or where to find them?

rgds
kyosei
..for the common good.
_________________________
KYOSEI. There are only three groups of people that can count. Those that can, and those that can't.