Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 34890

[Script of May 10] Get logins, databases users/roles and object level permission (T-SQL)

$
0
0

Script Download: LoginUserRolePermission.zip
http://gallery.technet.microsoft.com/scriptcenter/Get-logins-databases-816f66b2/

This script contains three code parts, one to get the result of server level logins and related roles, one to get the result of user databases’ users and related roles, one to get the result of object level permission of specific database.

This script can be used to get the following results:

  • Server level logins and related roles
  • User databases users and related roles
  • Object level permission of specific database

 

imageimage
image

You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery


Viewing all articles
Browse latest Browse all 34890

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>