Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Migrating Logins

Author  Topic 

ChetShah
Starting Member

37 Posts

Posted - 2005-07-29 : 08:46:41
Hi,

Does anyone know of a script whereby they can migrate SQL Server Logins as well as database logins??

Chet

TG
Master Smack Fu Yak Hacker

6065 Posts

Posted - 2005-07-29 : 14:44:35
There is a DTS Task called "Transfer Logins Task". That's probably the simplest way to move the server logins.

The database Users will be restored with the database if you are restoring a database although you may have to call sp_change_users_login to reassociate the user with login. (see BOL)

If you aren't restoring a database...have you tried searching this site for the scripts, I bet they've been posted already.

Be One with the Optimizer
TG
Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2005-07-29 : 15:11:49
Here's some links to be starting with

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q246133
http://sqlteam.com/Forums/topic.asp?TOPIC_ID=25269
http://sqlteam.com/forums/topic.asp?TOPIC_ID=27826
http://sqlteam.com/forums/topic.asp?TOPIC_ID=34800

Kristen
Go to Top of Page
   

- Advertisement -