This structure 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. This field can take any combination of the following bit values:
ESS_PRIV_NONE |
| ESS_ACCESS_T | MaxAccess | The maximum access privilege to the database for the user or group from all sources |
| ESS_FTRNAME_T | FilterName | The name of the assigned database filter, if any. If none, the first byte is NULL. |