• See the following url for an Instance Security Audit script I wrote. It prints in columnar format, and you can change one variable to make it print the actual assignment statements for the permissions. The posting explains a little more.

    Hope it helps.

    http://www.sqlservercentral.com/Forums/Topic1251262-146-1.aspx?Update=1