ESS_USERDBEX_T, ESS_GROUPDBEX_T

Contains access privilege information for a user or group and a specific database. This structure is similar to ESS_USERDB_T, ESS_GROUPDB_T, with the addition of the ProviderName, connparam and Type fields.

typedef struct ESS_USERDBEX_T
{
   ESS_USERNAME_T  UserName;   
   ESS_USERNAME_T  ProviderName;
   ESS_CONNPARAM_T connparam;
   ESS_USHORT_T    Type;
   ESS_APPNAME_T   AppName;     
   ESS_DBNAME_T    DbName;      
   ESS_ACCESS_T    Access;      
   ESS_ACCESS_T    MaxAccess;   
   ESS_FTRNAME_T   FilterName;  
} ESS_USERDBEX_T, *ESS_PUSERDBEX_T, **ESS_PPUSERDBEX_T,
  ESS_GROUPDBEX_T, *ESS_PGROUPDBEX_T, **ESS_PPGROUPDBEX_T;
Data TypeFieldDescription
ESS_USERNAME_TUserNameThe user or group name
ESS_USERNAME_TProviderNameName of the user directory. Example: @Native Directory
ESS_CONNPARAM_TconnparamUnique identity attribute identifying user or group in a directory. Example:
native://nvid=f0ed2a6d7fb07688:5a342200:1265973105c:-7f46?USER
ESS_USHORT_TTypeType of the structure. This field can contain the following value:
  • ESS_TYPE_USER

  • ESS_TYPE_GROUP

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.
ESS_FTRNAME_TFilterNameThe name of the assigned database filter, if any. If none, the first byte is NULL.