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 Type | Field | Description |
---|---|---|
ESS_USERNAME_T | UserName | The user or group name. |
ESS_APPNAME_T | AppName | The application name. |
ESS_DBNAME_T | DbName | The database name. |
ESS_ACCESS_T | Access | The 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:
These values are a subset of the Bitmask Data Types (C). |
ESS_ACCESS_T | MaxAccess | The 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_T | FilterName | The name of the assigned database filter, if any. If none, the first byte is NULL. |