ESS_USERDB_T, ESS_GROUPDB_T

Contains access privilege information for a user or group and a specific database. The Access and Filter fields are the only fields in this structure that can be modified using the API. The fields are:

typedef struct ESS_USERDB_T
{
   ESS_USERNAME_T  UserName;    
   ESS_APPNAME_T   AppName;     
   ESS_DBNAME_T    DbName;      
   ESS_ACCESS_T    Access;      
   ESS_ACCESS_T    MaxAccess;   
   ESS_FTRNAME_T   FilterName;  
} ESS_USERDB_T, *ESS_PUSERDB_T, **ESS_PPUSERDB_T,
  ESS_GROUPDB_T, *ESS_PGROUPDB_T, **ESS_PPGROUPDB_T;
Data TypeFieldDescription
ESS_USERNAME_TUserNameThe user or group name.
ESS_APPNAME_TAppNameThe application name.
ESS_DBNAME_TDbNameThe database name.
ESS_ACCESS_TAccessThe assigned access privilege to the database for the user or group. Access privileges are set through the Administrative Services interface.

This field can take any combination of the following bit values:

  • ESS_PRIV_NONE

  • ESS_PRIV_READ

  • ESS_PRIV_WRITE

  • ESS_PRIV_CALC

  • ESS_PRIV_DBLOAD

  • ESS_PRIV_DBDESIGN

These values are a subset of the Bitmask Data Types (C).

ESS_ACCESS_TMaxAccessThe maximum access privilege to the database for the user or group from all sources. Access privileges are set through the Administrative Services interface.
ESS_FTRNAME_TFilterNameThe name of the assigned database filter, if any. If none, the first byte is NULL.