# ESB_USERDB_T, ESB_GROUPDB_T

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

    Type ESB_USERDB_T

       Access       As Integer
       MaxAccess    As Integer
       AppName      As String * ESB_APPNAMELEN
       DbName       As String * ESB_DBNAMELEN
       userName     As String * ESB_USERNAMELEN
       FilterName   As String * ESB_FTRNAMELEN
    End Type

VB Data Type | Field | Description
As String * ESB_USERNAMELEN | UserName | User or group name (ESB_USERNAMELEN)
As String* ESB_APPNAMELEN | AppName | Application name (ESB_APPNAMELEN)
As String * ESB_DBNAMELEN | DbName | Database name (ESB_DBNAMELEN)
As Integer | Access | The assigned access privilege to the database for the user or group. Values: ESB_PRIV_NONE ESB_PRIV_READ ESB_PRIV_WRITE ESB_PRIV_CALC ESB_PRIV_DBLOAD ESB_PRIV_DBDESIGN These values are a subset of the Bitmask Data Types.
As Integer | MaxAccess | Maximum access privilege to the database for the user or group from all sources
As String * ESB_FTRNAMELEN | FilterName | Name of the assigned database filter, if any. If none, this field is an empty string.