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 TypeFieldDescription
As String * ESB_USERNAMELENUserName User or group name (ESB_USERNAMELEN)
As String* ESB_APPNAMELENAppName Application name (ESB_APPNAMELEN)
As String * ESB_DBNAMELENDbNameDatabase name (ESB_DBNAMELEN)
As IntegerAccessThe 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
As IntegerMaxAccessMaximum access privilege to the database for the user or group from all sources
As String * ESB_FTRNAMELENFilterName Name of the assigned database filter, if any. If none, this field is an empty string.