Scripting Role Permissions and Users 
Author Message
 Scripting Role Permissions and Users
I am running SQl 7.0 and need to find a way to generate a
script that provides me a quick and painless way to find
the following:  Role, Role permissions, and Role users.

We are egoing through alot of renaming processes(rename
db's, rename servers, rename roles...) its a big nightmare.

I have been able to pretty much script and reapply almost
everything except the roles. It's easy enought to create a
new role, but to add all of the appropriate permissions
and assign users is a pain.

Any help would be greatfull.

Thanx



Wed, 26 May 2004 03:47:39 GMT
 Scripting Role Permissions and Users

Hi,

You can script the database users and database roles/SQL Server
logins/Object-Level Permissions through the Generate SQL Scripts utility.
Also make sure you have the latest SP installed. Though this is a good
method, the generated SQL Scripts still needs to be modified manually.

Regards,
Jun Chen

This posting is provided "AS IS" with no warranties, and confers no rights.



Sat, 29 May 2004 15:50:41 GMT
 
 [ 2 post ] 

 Relevant Pages 

1. How to obtain information about user roles and user permissions on tables

2. How to obtain information about user roles and user permissions on tables

3. any body has a script to script users permissions on db objects

4. How Script Application Role Permissions

5. New Roles are not implying permissions for users.

6. security permissions of roles\users on table rows

7. New Web Site - Users, Roles Permissions

8. user/role execute permission question

9. SQLSERVER7:User not inheriting permissions from role

10. Automated Permissions For User Assigned Roles

11. Problem w/ Scripting Users & Roles

12. Need SQL Script to reverse-engineer datbase users, groups, permissions for SQL 6.5


 
Powered by phpBB® Forum Software