title: Looking for a script which will script out all database level persmissions( including xp_cmdshell and sql proxy account)
body: <p>I need a stored procedure or script which will script out all database level permissions- including permissions to xp_cmdshell for any objects as well as permissions to a sql proxy account.</p>
  
  <p>Thanks!</p>