==== Fix Orphaned User ==== sp_change_users_login 'auto_fix', 'UserName' For example: sp_change_users_login 'auto_fix', 'WebAppsSQLWebUser' {{tag>code_snippet sql}}
sp_change_users_login 'auto_fix', 'UserName'
sp_change_users_login 'auto_fix', 'WebAppsSQLWebUser'