Solved

How to scripts object permission for user has in sql2005

Posted on 2011-03-15
1
289 Views
Last Modified: 2012-05-11
Hi,
Is there anyway I can check what specific permissions user have for all objects in database ? I can use sp_helprotect to view the permission for a user but how could I generate a scripts to create the permissions ? I have around 100 tables with multi layer of permissions which I need to deploy in new server and db, db restore and generate sql task script did not generate this script :(
0
Comment
Question by:motioneye
1 Comment
 
LVL 7

Accepted Solution

by:
lozzamoore earned 500 total points
ID: 35139058
I've used this before and it got me most of the way there:

http://vyaskn.tripod.com/scripting_permissions_in_sql_server_2005.htm

Regards,
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now