How to check all users permissions in SQL Server

Hi everyone! I am involved in a SharePoint 2010 SQL Server migration, and as you may know, you have follow this article: http://technet.microsoft.com/en-us/library/cc512723(v=office.14).aspx Truth is, that you need to update as well the users permissions in the destination instance. So the immediate question would be: How should I get all the permissions in my instance?…