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

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

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

 

image image
image

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