Sunday, 7 February 2016

How To Fix Orphaned SQL Server User


First, make sure that this is the problem. This will lists the orphaned users:
EXEC sp_change_users_login 'Report'
If you already have a login id and password for this user, fix it by doing:
EXEC sp_change_users_login 'Auto_Fix', 'user'
If you want to create a new login id and password for this user, fix it by doing:
EXEC sp_change_users_login 'Auto_Fix', 'user', 'login', 'password'

1 comment:

  1. Top 15 best slots in US @ casinos.net - JTM Hub
    Best online slots 오산 출장마사지 and slots for US players at JTM Hub. 광주광역 출장안마 Top 15 계룡 출장샵 best 충주 출장마사지 slots in US 김천 출장마사지 @ casinos.net.

    ReplyDelete