Hi All,
This is Security related question. Please help.
Is the below command equivalent to EXEC sp_change_users_login 'Update_One', 'dbuser', 'login'; ?
USE [DatabaseName]
ALTER USER [DbUserName]
WITH LOGIN = [LoginName]
if so, from which version MICROSOFT has changed this ? does both commands use to fix a orphan user?
Thanks,
Sam