Try this
SELECT name,default_database_name,is_disabled,type_desc
FROM sys.server_principals
WHERE type IN ('u','g','s');
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events