Authority removed from User Mappings after restore

  • Following the restore of a database, the Login for a user still exists but the authority for the database I have restored has been removed from User Mappings. Is there a procedure that I can use, similar to the sp_change_users_login, that I can store and run from the master database, passing in the name of the database for which I want to add the authority?

  • [font="Verdana"]You can use this sp_change_users_login procedure itself to map the user with the login. [/font]

  • The user still exists and has the correct authority on the database itself after the restore. I need to update the Login to add the authority for the database back in User Mappings.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply