This function is used to grant privilege for subscription to a SQL account for particular publication. The DBA accounts always have right for subscription to all available publications.
This is to grant permissions for table_publication publication account to subscribe with a SQL user account 'demo'.
SQL> DB.DBA.REPL_GRANT ('table_publication', 'demo');