I'm having an issue giving a single user the ability to perform
select * from msdb..sysmail_profile
I get the following error:
Msg 229, Level 14, State 5, Line 1
The SELECT permission was denied on the object 'sysmail_profile', database 'msdb', schema 'dbo'
I've tried to grant permissions by using:
use msdb;
grant select on msdb.dbo.sysmail_profile to [My User];
but still no avail. However, if I do the exact same grant permission command for [Public]
, then the user is able to perform the needed select statement, but I don't want [Public]
to have access to select from that table.
I have not found any Deny's anywhere for this user, yet I am still unable to give this single user SELECT
permissions. Any thoughts?