ESB_USERINFO_T, ESB_GROUPINFO_T

This structure stores information about users or groups.

Type ESB_USERINFO_T

   LastLogin     As Long                     
   DbConnectTime As Long                     
   LoginId       As Long                     
   Login         As Integer                  
   Type          As Integer                  
   Access        As Integer                  
   MaxAccess     As Integer                  
   Expiration    As Integer                  
   FailCount     As Integer                  
   Name          As String * ESB_USERNAMELEN 
   AppName       As String * ESB_APPNAMELEN  
   DbName        As String * ESB_DBNAMELEN   
   Description   As String * ESB_DESCLEN     
   EMailID       As String * ESB_DESCLEN     
   LockedOut     As Boolean                  
   PwdChgNow     As Boolean                  
End Type

Some of the fields are specific to users and cannot be used for groups. The Access, Expiration, and PwdChgNow fields are the only fields in this structure that can be modified using the API. The fields are:

VB Data TypeFieldDescription
As LongLastLoginDate of the user's last successful login stated as Greenwich Mean Time (users only).
As LongDbConnectTimeLocal (server) time of database connection. Read-only. Cannot be set by EsbSetUser.
As LongLoginIdUser login identification tag (users only).
As IntegerLoginFlag to indicate whether logged in (users only).
As IntegerTypeThe type of the structure (user or group). Values:
  • ESB_TYPE_USER

  • ESB_TYPE_GROUP

As IntegerAccessUser or group assigned default access privileges. This field can take any combination of the following bit values:
  • ESB_ACCESS_SUPER /*Administrator, all bits set */

  • ESB_PRIV_APPCREATE

  • ESB_PRIV_USERCREATE

As IntegerMaxAccessUser's maximum access privileges (users only). This combines individual access, and access levels conferred by group membership.
As IntegerExpirationReserved for future use.
As IntegerFailCountCount of the failed login attempts since the last successful login (users only).
As String * ESB_USERNAMELENNameUser or group name (ESB_USERNAMELEN).
As String* ESB_APPNAMELENAppNameName of the currently connected application (if applicable) (ESB_APPNAMELEN).
As String * ESB_DBNAMELENDbNameName of the currently connected database (if applicable) (ESB_DBNAMELEN).
As StringDescriptionUser/group description (ESB_DESCLEN).

For Future Use. Not settable by user.

As StringEMailIDUser/group email address (ESB_DESCLEN).

For Future Use. Not settable by user.

As BooleanLockedOutFlag that user is locked out.
As BooleanPwdChgNowFlag that user must change password.