SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


How to Grant User access to View Linked Server Properties


How to Grant User access to View Linked Server Properties

Author
Message
kaotic504
kaotic504
Forum Newbie
Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)

Group: General Forum Members
Points: 7 Visits: 47
hi, i need to give a User access to just VIEW the properties of a Linked Server. I've tried giving running "GRANT ALTER ANY LINKED SERVER TO [USERID]" but that didn't work. It's fine if they can view/alter the Linked Servers, but I don't want them to touch any of our Databases. I've had to give the UserID, SYSADMIN privileges in order to do so, but now, they've got all the power in the world. Is there a way, to grant a user access to just view/alter Linked Servers and not affect databases? thanks!
TJT
TJT
SSC-Enthusiastic
SSC-Enthusiastic (174 reputation)SSC-Enthusiastic (174 reputation)SSC-Enthusiastic (174 reputation)SSC-Enthusiastic (174 reputation)SSC-Enthusiastic (174 reputation)SSC-Enthusiastic (174 reputation)SSC-Enthusiastic (174 reputation)SSC-Enthusiastic (174 reputation)

Group: General Forum Members
Points: 174 Visits: 254
Though this is late, maybe it will help someone else.

You need to have setupadmin rights first, then run

GRANT ALTER ANY LINKED SERVER TO loginname

Now you will be able create or alter linked servers in SQL Server 2008

Now, for SQL Server 2012 - it's a different story.

USE master;
GRANT CONTROL SERVER TO loginname;
GO

USE master;
GRANT ALTER ANY LINKED SERVER TO loginname WITH GRANT OPTION;
GO

NOTE: "WITH GRANT OPTION" should likely be left off, unless you want this user to be able to GRANT these permissions
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search