Solved

Granting users in active domain permissions to execute a stored procedure from an excel workbook

Posted on 2015-01-21
6
62 Views
Last Modified: 2015-02-18
I have created a workbook on a public drive accessible to about 5 users.  Within the workbook is a macro that runs a SQL 2008 R2 stored procedure to update a table within the workbook.  It works perfectly for my user access.  Currently these 5 users have read privileges to access views and tables within the SQL Server from Excel.

What are the procedures to set these users up to be able to execute the stored procedure?  I have seen a lot of different styles and advice on this matter.

Do I need to "alter" the SP grant them permissions?  Or do I need to get the DBA involved?

Let me know.

thanks

Glen
0
Comment
Question by:GPSPOW
6 Comments
 
LVL 50

Expert Comment

by:Lowfatspread
ID: 40563650
i suggest that you involve your dba in the solution,,,

basically to let him know that you are intending this extensions of access to the data,,, so that he can

properly assess the impact from a security and performance viewpoint that fits in with your companies security and audit policies.
0
 
LVL 48

Accepted Solution

by:
Vitor Montalvão earned 500 total points
ID: 40563949
You need to grant permissions for execute the SP:
GRANT EXECUTE ON SPName TO UserName
0
 

Author Comment

by:GPSPOW
ID: 40564321
I will try this and notify the user to test the report



Thanks

Glen
0
 

Author Comment

by:GPSPOW
ID: 40609295
No objections

Please close
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 40616156
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Suggested Solutions

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

809 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