By "active accounts" I assume you mean active users, correct?
Here's a start:
Select SI_ID, SI_NAME, SI_DESCRIPTION, SI_DISABLED
From CI_SYSTEMOBJECTS
where SI_KIND = 'User'
-Dell
A computer only does what you actually told it to do - not what you thought you told it to do.