SE_table_duplicate_privileges |
Takes a source table and a list of target tables and duplicates the privileges from the source to the targets
LONG SDEAPI SE_table_duplicate_privileges (SE_CONNECTION
handle,
const
ACHAR *source_owner,
const ACHAR *source_table,
LONG num_target_tables,
const
ACHAR **target_tables)
handle | The ArcSDE connection handle |
source_owner | The owner of the source table |
source_table | The name of the source table from which privileges will be duplicated |
num_target_tables | The number of target tables |
target_table | A list of target tables to which privileges will be added. |
SE_table_duplicate_privileges takes as input a source table, table owner name, and a list of tables to which the privileges from the source table will be duplicated.
All table names should be qualified. If they are not qualified, ArcSDE assumes that the current user is the owner of the tables.
SE_SUCCESS
SE_DB_IO_ERROR
SE_INVALID_CONNECTION
SE_NET_FAILURE
SE_NO_PERMISSIONS
SE_SDE_NOT_STARTED
SE_TABLE_NOEXIST