Solved

sp_helprotect sp_helpuser WHERE

Posted on 2008-10-17
1
653 Views
Last Modified: 2008-11-12
We have a database.  The users don't have direct access to any of the tables of data.  There are views, functions and procedures with permissions granted to groups, and groups are granted to logins.  

We want to select what views, functions and procedures a user has access to by linking

logins = groups = objects
0
Comment
Question by:bmiller250
1 Comment
 
LVL 26

Accepted Solution

by:
Zberteoc earned 500 total points
ID: 22752319
What you have in SQL server are roles and users are asociated to a role and the roles are granted or denied permissions. Run the sp_helpprotect stored procedures with no parameters and will list all the permissions for all the roles on current database:
EXEC sp_helprotect

Open in new window

0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

910 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

21 Experts available now in Live!

Get 1:1 Help Now