With XP Pro you can right click on any object and then click on the
Security Tab and you will find the security details for the object.
To get a list of local groups from a command prompt you can use the net
command:
net localgroup
will show you the groups on the computer. You can then run the command
against specific groups:
net localgroup administrators
will show the members of the administrators group. You can redirect the
output of the commands to text file:
net localgroup administrators >admins.txt
You can get further security information using the cacls or subinacl
commands, for example try this:
cacls * /c
I think however that for what you want to do it might be easier to use a
third party tool like DumpSec:
http://www.somarsoft.com/
John