Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Creating Roles in SQL Server


Creating Roles in SQL Server

Author
Message
Shadab Shah
Shadab Shah
Old Hand
Old Hand (307 reputation)Old Hand (307 reputation)Old Hand (307 reputation)Old Hand (307 reputation)Old Hand (307 reputation)Old Hand (307 reputation)Old Hand (307 reputation)Old Hand (307 reputation)

Group: General Forum Members
Points: 307 Visits: 798
Hi,

I am new in Administration group. I read over internet that user that are created using windows auhentication have all the database rights [url=http://http://databases.about.com/od/sqlserver/ht/Creating-A-Sql-Server-2008-Database-Account.htm][/url]. Which i thing is not correct, because i have a windows authentication account but i cannot execute DMV's. To check this i thought of creating a temp user account on a local dev server.

I tried to create a account with windows authentication but did not get where to set the DMV's permission to the user.(I though of DMV's because my actual DEV account is without the access to DMV's ).

Now i want to know how to set the Different permission for the user we are creating.
Orlando Colamatteo
Orlando Colamatteo
SSCrazy Eights
SSCrazy Eights (8.2K reputation)SSCrazy Eights (8.2K reputation)SSCrazy Eights (8.2K reputation)SSCrazy Eights (8.2K reputation)SSCrazy Eights (8.2K reputation)SSCrazy Eights (8.2K reputation)SSCrazy Eights (8.2K reputation)SSCrazy Eights (8.2K reputation)

Group: General Forum Members
Points: 8239 Visits: 14368
Shadab Shah (12/31/2012)
Hi,

I am new in Administration group. I read over internet that user that are created using windows auhentication have all the database rights Creating a SQL Server 2008 Database Account By Mike Chapple. Which i thing is not correct, because i have a windows authentication account but i cannot execute DMV's. To check this i thought of creating a temp user account on a local dev server.

I think I see the language in the article that may have led you to believe that, but it is not the case and not what the author was trying to say.

This:

In Windows authentication mode, you assign all database permissions to Windows accounts.


Does not mean that all SQL Server logins that are based on Windows Accounts have "all database permissions." It mean that when you create a SQL Server login based on a Windows Account that all permissions granted to the SQL Server login are in essence attached to the Windows Account. A subtle distinction, but an important one. Make sense?

You still must grant SQL Server permissions to the SQL Server login. The fact this it is based on a Windows Account does not afford it any additional permissions over a login that utilizes SQL Server Authentication.

I tried to create a account with windows authentication but did not get where to set the DMV's permission to the user.(I though of DMV's because my actual DEV account is without the access to DMV's ).

Now i want to know how to set the Different permission for the user we are creating.

Which DMVs are you trying to grant access too? In general granting the server-level permission VIEW SERVER STATE allows the use of many of the DMOs (Dynamic Management Objects > includes DMVs and DMFs).

__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
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