From: Jason Carter on
Is it possible to run a script in SQL 2000 and 2005 to generate a report with
the SQL IDs and the last time they were accessed? We need this information
for an audit so we can determine which accounts can be disabled.
From: Uri Dimant on
Jason
What is SQL ID? Logins?

Run sys.server_principals DMV to see disabled logins


"Jason Carter" <JasonCarter(a)discussions.microsoft.com> wrote in message
news:1E69D86B-9DC6-43C7-80FB-33C86A42C9F2(a)microsoft.com...
> Is it possible to run a script in SQL 2000 and 2005 to generate a report
> with
> the SQL IDs and the last time they were accessed? We need this information
> for an audit so we can determine which accounts can be disabled.