Re: sql server 2005 permissions - how to view



For databases, take a look at sys.database_permissions (and
sys.database_principals to get associated database user
information). For server level, look at
sys.server_permissions and sys.server_principals to get
associated login info.

-Sue

On Thu, 16 Feb 2006 08:38:32 -0800, "Mike"
<Mike@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

Is there a Dynamic Management View (DMV) that would allow me to display
permissions for logins and roles?

Thank you.

.



Relevant Pages

  • RE: Creating a DB User *not* on current Machine
    ... the database user is mapped to the SQL login by SID. ... If a matching login does not exist -> create it with a blank password. ...
    (microsoft.public.sqlserver.security)
  • Re: Connecting a user from a backup database to a new login
    ... existing database user? ... Is there a system table where I can just map ... I want to create a login of the same ... For instance exec sp_mystoredproc instead of exec ...
    (microsoft.public.sqlserver.security)
  • Re: ODBC login problem
    ... CREATE LOGIN MyLogin? ... SQL Server connection". ... database user to the SQL login on the target server. ...
    (microsoft.public.sqlserver.security)
  • Re: How to find out if a login has permission for an obj?
    ... It will be the database user that has the permissions on the object and a ... given login will map onto that user. ... Check out the PERMISSIONS ([objectid ...
    (microsoft.public.sqlserver.programming)
  • Re: How to connect as guest?
    ... You need to look into what a login is and what a database user is. ... guest *user*, but the person still need a login for the SQL Server. ...
    (microsoft.public.sqlserver.programming)