As it happens I needed a list of forms the other day, it does not extend to the Security Roles (and is currently set to only find formtype = 2 main) but it will give you a starting point (objecttypecode is the entity) use the FetchXML Builder in XrmToolBox.
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="systemform">
<attribute name="formid" />
<attribute name="name" />
<attribute name="formactivationstate" />
<attribute name="publishedon" />
<attribute name="ismanaged" />
<attribute name="objecttypecode" />
<filter type="and">\
<condition attribute="type" operator="eq" value="2" /></filter>
<order attribute="name" />
</entity>
</fetch>