title: Finding which permissions a user defined database role has
body: <p>I am working with tsql in M SQL Server 2017. How do I see what permissions a user defined database role has?</p>
  
  <p>eg I have a database that has a user defined role called "ViewDefinitions" in database "abc". </p>
  
  <p>I want to write a query that will allow me to see which specific permissions this role has.</p>