Is there a way to get a list of users in SQL Server 2005 db with status of their account. A sql or something?
When I tried to test a disabled user via ODBC I get SQL Server Error: 18470 SQL State: 42000.
But would like have a sql to get user accont status.
THANKS IN ADVANCE