|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Wednesday, June 05, 2013 5:35 AM
Points: 202,
Visits: 325
|
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Wednesday, March 27, 2013 12:52 PM
Points: 40,
Visits: 52
|
|
| There is also a built-in stored procedure called 'sp_change_users_login'. It works on the current database and only for sql accounts, not windows logins. It can be used to list orphaned users and to reconnect them. I am not sure if it is available before SQL 2005.
|
|
|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Friday, June 14, 2013 3:45 PM
Points: 60,
Visits: 637
|
|
| Very useful script. It would be nice if it didn't consider users created from certificates as orphaned.
|
|
|
|