SQL Clone
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Script All Logins / Users / and Roles

By Greg Ryan,

Running this Script will create a script which recreates all the Logins and adds them to the Server Roles, and all the users for each Database and adding them to the database roles.

Total article views: 5892 | Views in the last 30 days: 37