Running this script will create a report of all the grants of roles to users and other roles.
REM LOCATION: Backup Recovery\Generate Recreation Scripts
REM FUNCTION: SCRIPT FOR CAPTURING SYSTEM PRIVILEGES GRANTED TO USERS AND ROLES
REM TESTED ON: 7.3.3.5, 8.0.4.1, 8.1.5, 8.1.7, 9.0.1, 10.2.0.3, 11.1.0.6
REM PLATFORM: non-specific
REM REQUIRES: dba_sys_privs