Re: GRANT VIEW SERVER STATE to Database Role
- From: "Russell Fields" <russellfields@xxxxxxxxxx>
- Date: Tue, 12 May 2009 11:36:01 -0400
Frank,
Since it is a Server permission, it has to be a login.
If you have several domain logins to which you want to grant this permission, but you would like to limit how many times you grant this on the server, do the following.
1. Have all the logins that need this permission added to a Windows Group. (e.g. MyDomain\MyServerViewServerState)
2. Add the MyDomain\MyServerViewServerState as a login on your SQL Server.
3. GRANT VIEW SERVER STATE TO [MyDomain\MyServerViewServerState]
Now, all people in that group will have this permission. As you have users added or removed from the Windows group they will receive or lose these permissions as well.
Note that this is an extra permission for people who already have rights to the server through other logins, groups, and roles. It does not affect their other rights.
RLF
"Frank Uray" <FrankUray@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:EB797207-6087-4ABE-A935-CF9B01238F4A@xxxxxxxxxxxxxxxx
Hi all
Is it possible to "GRANT VIEW SERVER STATE"
to a Database Role ?? Or does it has to be to a Login ??
Thanks and best regards
Frank Uray
.
- References:
- GRANT VIEW SERVER STATE to Database Role
- From: Frank Uray
- GRANT VIEW SERVER STATE to Database Role
- Prev by Date: Re: How to read Value from XML String and Insert to a table
- Next by Date: Re: How to read Value from XML String and Insert to a table
- Previous by thread: GRANT VIEW SERVER STATE to Database Role
- Next by thread: SQL Agent Performance Alerts
- Index(es):
Relevant Pages
|