Solved

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

Posted on 2015-01-21
6
65 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 50

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 47

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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

705 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