SE_rastercolumn_grant_access |
Sets access privileges for a table containing a raster column.
LONG SE_rastercolumn_grant_access (SE_CONNECTION connection, const CHAR *table_name, const CHAR *raster_column, LONG privilege, BOOL grant, const CHAR *user);
connection | The connection handle |
table_name | The table name |
raster_column | The raster column name |
privilege | The access privilege to grant |
grant | If TRUE, the user may grant access privileges to other users |
user | The user name |
SE_rastercolumn_grant_access confirms the base table containing the specified raster column exists, and, if it does, gives a user the specified level of privileges to that table. If grant is TRUE, then the user in turn can pass the privileges on to another user. The access privileges that can be granted are:
SE_SELECT_PRIVILEGE /* User can view the layer table contents */
SE_UPDATE_PRIVILEGE /* User can modify the layer table contents */
SE_INSERT_PRIVILEGE /* User can insert new records in the layer table */
SE_DELETE_PRIVILEGE /* User can delete records from the layer table */
Grant multiple privileges to a user with the OR operator and the appropriate privilege masks.
SE_SUCCESS
SE_FAILURE
SE_INVALID_PARAM_VALUE
SE_INVALID_POINTER
SE_LAYER_NOEXIST
SE_NET_FAILURE
SE_NO_PERMISSIONS
SE_SDE_NOT_STARTED