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_USERNAMELENUserNameUser or group name (ESB_USERNAMELEN)
As String* ESB_APPNAMELENAppNameApplication name (ESB_APPNAMELEN)
As String * ESB_DBNAMELENDbNameDatabase name (ESB_DBNAMELEN)
As IntegerAccess 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 Table 15.

As IntegerMaxAccessMaximum access privilege to the database for the user or group from all sources
As String * ESB_FTRNAMELENFilterNameName of the assigned database filter, if any. If none, this field is an empty string.