See tip 6820 » What are the new Active Directory command-line tools in Windows Server 2003?
in the 'Tips & Tricks' at
http://www.jsifaq.com
Well it's not a csv format, but using the Active Directory command-line tools which you can run from a Windows XP domain member, type on 1 line:
dsget group "CN=Accounts Payables,CN=Users,DC=JSIINC,DC=COM" -members|dsget user -dn -samid -sid -upn -fn -mi -ln -display -empid -desc -office -tel -email -hometel -pager -mobile -fax -iptel -webpg -title -dept -company -mgr -hmdir -hmdrv
-profile -loscr
Here is the headings of the output list:
dn desc samid sid upn fn mi ln display empid office tel email
hometel pager mobile fax iptel webpg title dept company mgr hmdir hmdrv profile loscr
Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com