Generically you can pull all accounts from the accounts table using the below query.
select * from accounts
More specifically, you can use the below query to get a general list of permissions.
select accountid, accountenabled, allowadmin, allownodemanagement, allowcustomize, alloweventclear, disablesessiontimeout from accounts
Is there something more specific that you are looking for?
Thanks for your reply! Let me try your suggestion and see if that gives me what I need. --Bill
Yes that works just fine! Thank you!