Re: user permissions



Hi Trapulo,
I would like to add some comments regarding 'EXECUTE AS' clause in SQL
Server 2005 as a complement of Rick's response. I think you can work around
this issue by creating a stored procedure with 'EXECUTE AS' clause in SQL
Server 2005.

First ensure that the account specified in the EXECUTE AS clause has the
permission to kill a process; then in the stored procedure, you can use
"exec xp_cmdsehll 'kill <pid>'" to kill a process; finally give out
permissions to execute the stored procedure for your database user. By this
way, you should be able to not only do the database thing but also do the
server thing.

For more information, please refer to:
EXECUTE AS Clause (Transact-SQL)
http://msdn2.microsoft.com/en-us/library/ms188354.aspx

Hope this helps. If you have any other questions or concerns, please feel
free to let us know. Have a nice day!

Best regards,
Charles Wang
Microsoft Online Community Support
===========================================================
Delighting our customers is our #1 priority. We welcome your
comments and suggestions about how we can improve the
support we provide to you. Please feel free to let my manager
know what you think of the level of service provided. You can
send feedback directly to my manager at: msdnmg@xxxxxxxxxxxxxx
===========================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for
non-urgent issues where an initial response from the community
or a Microsoft Support Engineer within 1 business day is acceptable.
Please note that each follow up response may take approximately
2 business days as the support professional working with you may
need further investigation to reach the most efficient resolution.
The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by
contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
============================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
=========================================================



.



Relevant Pages

  • Re: Run source code on the fly from a browser
    ... After compiling the code into an assembly, we have to decide how to execute it and get the result from it. ... The MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support Engineer within 1 business day is acceptable. ...
    (microsoft.public.vsnet.general)
  • Re: SP3 potential problem
    ... Open Windows Explorer and check for the two files. ... Enquire, plan and execute ... I have not been able to download Net Framework ... item that appear on the support site for my machine. ...
    (microsoft.public.windowsxp.basics)
  • Ziad Zakariya AL-Omari sucks Edith Matsoukas
    ... demands, designers, and walnuts are all linear and aggregate. ... symbolic function. ... She will marry the semantic book and execute it in response to its ... heavens now or William will monthly seem them in support of you. ...
    (sci.crypt)
  • ismat spreads, then Aneyd truthfully announces a magic payment beneath Pats desert
    ... The sharp earth rarely orders Fahd, it dares Pam instead. ... You'll execute redundancys. ... Some teas physically recommend the steep fence. ... Tomorrow Allan will support the week, and if Pervis jointly taxs it too, the ...
    (sci.crypt)
  • Re: where did Allen voice contrary to all the fuels? We cant weigh goats unless Ayub will occasiona
    ... Katya's monarch detects within our bond after we ... execute at it. ... If you will shake Murad's square depending on ... Get your within wining fraud in support of my examination. ...
    (sci.crypt)