DtvLong dal_dbi_get_acc_elm (idn, tab, uic, gic, acc_ogw)

Returns the access data for the passed record Id from the original table of the records.

Input Parameters Significance
DtvLong idn record-Id
char *tab table name of the records

Output Parameters Significance
DtvLong *uic identification code of the record owner (UIC)
DtvLong *gic identification code of the group of the record (GIC)
char *acc_ogw access Id of the record [0=not specified]:
acc_str [0] = owner access
acc_str [1] = group access
acc_str [2] = world access
> < = no access
r = read access
w = write access
d = delete access

Return Code Significance
0 no error
1 record-Id not found in table
-1 data base error reading the access data

When zero pointers are passed for the output parameters, the corresponding values are not read.

Any entry in DataView, irrespective of the entity or relation, is managed as a record with its owner- and group IC, access privileges, and creation- and update data in its original table.