NT User list (domain or local accounts)

How can I retrieve a list of all the user accounts on an NT server or
workstation?

Any help greatfull!

Regards
Anthony

--
Anthony Shortland
anth...@shortlan.force9.co.uk