• sp_helprevlogin is the procedure, but it's a 2005 one only now. They updated it. The original for 7/2000 is available in the script library here.

    http://www.sqlservercentral.com/scripts/Maintenance+and+Management/31711/

    Nice article, Tim!