|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Wednesday, May 08, 2013 1:35 AM
Points: 139,
Visits: 4,605
|
|
I found that this script doesn't write down schema permissions.
You might check the following: http://www.sqlservercentral.com/scripts/Security/71562/
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Yesterday @ 7:08 AM
Points: 236,
Visits: 752
|
|
For the new user, I'd it to generate a create user statement:
USE [dbname] GO CREATE USER [mynewuser] FOR LOGIN [domain\firstname.lastname] GO
Where mynewuser is paramater 1 and domain\firstname.lastname is second parameter.
|
|
|
|