Is there an easy way to export and then import users/permissions from one Sql Server 2005 instance to another?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use the management console to generate a script for your users and thier associated permissions. Same can be done for the server logins in the security folder.
Select your user:
Select DB and expand security\users folder
Right Click –> Script User As –> Create To –> New Query
For Logins
Select your Login:
Expand security\logins folder
Right Click –> Script Login As –> Create To –> New Query
Now just run the query on your new instance. Just choose the db to run the script in.