SE_table_get_user_permissions |
Returns the permissions on a table for a specific user
LONG SDEAPI SE_table_get_user_permissions(SE_CONNECTION connection, const ACHAR *user, const ACHAR *table, LONG *permissions);
connection | The connection handle |
user | A pointer to a user name |
table | A pointer to a table name |
permissions | Pointer to a permission bit-mask |
SE_table_get_user_permissions returns the permissions on a given table for the specified user. Permissions are returned as bitmasks, but equate to the following:
SE_SELECT_PRIVILEGE
SE_UPDATE_PRIVILEGE
SE_INSERT_PRIVILEGE
SE_DELETE_PRIVILEGE
Returned permissions could be multiple.
The table name is in the format <owner>.<table>. If <owner> is omitted, ArcSDE assumes that the current user is the owner.
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