I added a database role that restricts a user EXECUTE access to certain stored procedures. The database is connected to UI written in .NET. When a user with the restricted role clicks the corresponding menu action item in UI, she gets a standard SQL Server
system message saying that the EXECUTE permission is denied plus the name of the stored procedure. I want to change this text into more informative for the average user, e.g. "You are not authorized to make this change". I would appreciate if someone
could advise me how I could make this change in SQL Server. I am using SQL Server 2014.
↧