I have an existing database. It has 1 non-default user (that is Without Login), and that user is the dbo.
How do I associate this user with a login?
I have an existing database. It has 1 non-default user (that is Without Login), and that user is the dbo.
How do I associate this user with a login?
Here are the steps
First, run a report in the database to find all orphaned users
EXEC sp_change_users_login 'Report'
Since you already have a Login for this user, fix it by doing:
EXEC sp_change_users_login 'Auto_Fix', 'YourUserName'