TRIPsystem Kernel API 8.3
Loading...
Searching...
No Matches
base_access_rec Struct Reference

Database access record. More...

#include <tripapi_types.h>

Public Attributes

char all_access
 
char field_access [1000]
 
char read_scope [400]
 
char sel_access
 
char write_scope [400]
 

Detailed Description

Database access record.

Each element of the database access record ( except the scope fields ) are made up using a bit mask as follows :

Bit Nr Description
bit 0 read access
bit 1 write access

Thus, to give full read only access, set all_access to 1. To give full read and write access, set all_access" to 3. If any bits in sel_access are set, the field_access array is read, each element of the array corresponding to the access rights to a particular field in the database.

Member Data Documentation

◆ all_access

char base_access_rec::all_access

Unrestricted access to all fields

◆ field_access

char base_access_rec::field_access[1000]

Fields to be given access

◆ read_scope

char base_access_rec::read_scope[400]

CCL command defining read scope

◆ sel_access

char base_access_rec::sel_access

Restrict access to certain fields

◆ write_scope

char base_access_rec::write_scope[400]

CCL command defining write scope


The documentation for this struct was generated from the following file: