Oracle® Database Advanced Replication Management API Reference 10g Release 1 (10.1) Part Number B10733-01 |
|
|
View PDF |
This function authorizes specific users to instantiate private deployment templates. Users not authorized for a private deployment template are not able to instantiate the private template. This function adds a row to the DBA_REPCAT_USER_AUTHORIZATIONS
view.
Before you authorize a user, verify that the user exists at the master site where the user will instantiate the deployment template. The number returned by this function is used internally by Oracle to manage deployment templates.
DBMS_REPCAT_RGT.CREATE_USER_AUTHORIZATION ( user_name IN VARCHAR2, refresh_template_name IN VARCHAR2) return NUMBER;
Exception | Description |
---|---|
miss_user |
User name supplied is invalid or does not exist. |
miss_refresh_template |
Refresh template name supplied is invalid or does not exist. |
dupl_user_authorization |
An authorization has already been created for the specified user and deployment template. See the |
Return Value | Description |
---|---|
<system-generated number> |
System-generated number used internally by Oracle. |