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 Type | Field | Description |
---|---|---|
As Long | LastLogin | Date of the user's last successful login stated as Greenwich Mean Time (users only). |
As Long | DbConnectTime | Local (server) time of database connection. Read-only. Cannot be set by EsbSetUser. |
As Long | LoginId | User login identification tag (users only). |
As Integer | Login | Flag to indicate whether logged in (users only). |
As Integer | Type | The type of the structure (user or group). Values:
|
As Integer | Access | User or group assigned default access privileges. This field can take any combination of the following bit values:
|
As Integer | MaxAccess | User's maximum access privileges (users only). This combines individual access, and access levels conferred by group membership. |
As Integer | Expiration | Reserved for future use. |
As Integer | FailCount | Count of the failed login attempts since the last successful login (users only). |
As String * ESB_USERNAMELEN | Name | User or group name (ESB_USERNAMELEN). |
As String* ESB_APPNAMELEN | AppName | Name of the currently connected application (if applicable) (ESB_APPNAMELEN). |
As String * ESB_DBNAMELEN | DbName | Name of the currently connected database (if applicable) (ESB_DBNAMELEN). |
As String | Description | User/group description (ESB_DESCLEN). For Future Use. Not settable by user. |
As String | EMailID | User/group email address (ESB_DESCLEN). For Future Use. Not settable by user. |
As Boolean | LockedOut | Flag that user is locked out. |
As Boolean | PwdChgNow | Flag that user must change password. |