SE_table_get_permissions

Returns the permissions for a given table.

Usage syntax

LONG SE_table_get_permissions
(SE_CONNECTION connection,
const CHAR *table
LONG *permissions);

Parameters
connection The connection handle
table A pointer to a table name
permissions Pointer to a permission bit-mask
Description

SE_table_get_permissions returns the permissions for a given table. Permissions are:

SE_SELECT_PRIVILEGE

SE_UPDATE_PRIVILEGE

SE_INSERT_PRIVILEGE

SE_DELETE_PRIVILEGE

The table name is in the format <owner>.<table>. If <owner> is omitted, ArcSDE assumes that the current user is the owner.

Returns

SE_SUCCESS
SE_CONNECTION_IN_USE

SE_CONNECTION_LOCKED

SE_DB_IO_ERROR

SE_INVALID_CONNECTION

SE_INVALID_PARAM_VALUE

SE_INVALID_POINTER

SE_NET_FAILURE

SE_SDE_NOT_STARTED

SE_TABLE_NOEXIST