How to Script permissions using catalog views in SQL Server 2005