Deprecated function: Array and string offset access syntax with curly braces is deprecated in include_once() (line 20 of /home/benjfc5/public_html/main/includes/file.phar.inc).
Deprecated function: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in include_once() (line 1387 of /home/benjfc5/public_html/main/includes/bootstrap.inc).
Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /home/benjfc5/public_html/main/includes/common.inc).
TSQL – Orphaned User Script
published by ben himself on Sat, 03/19/2016 - 16:39
Finding Orphaned Users
USE [db]
GO
EXEC sp_change_users_login 'Report'
GO
Fixing Orphaned Users
USE [db]
GO
EXEC sp_change_users_login 'auto_fix', 'USERNAME'
GO