• Please refer to the following article to get the script to get logins, databases users/roles and object level permission (T-SQL):-):

    https://gallery.technet.microsoft.com/scriptcenter/Get-logins-databases-816f66b2