# ESB_USERINFOEX_T

This structure stores information about users or groups.

    Type ESB_USERINFOEX_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
       Password	  As String * ESB_PASSWORDLEN    	' Authentication Password
       Description   As String * ESB_DESCLEN
       EMailID       As String * ESB_DESCLEN
       LockedOut     As Boolean
       PwdChgNow     As Boolean
       protocol      As String * ESB_PROTOCOLNAMELEN        ' External Authentication Protocol
       connparam     As String * ESB_CONNPARAMLEN           ' External Authentication Connection
    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 | DbConnect Time | 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: ESB_TYPE_USER ESB_TYPE_GROUP
As Integer | Access | User or group assigned default access privileges. This field can take any combination of the following bit values: ESB_ACCESS_SUPER /*Supervisor, all bits set */ ESB_PRIV_APPCREATE ESB_PRIV_USERCREATE
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 * ESB_PASSWORDLEN | Password | Password of externally authenticated user. This is used only when setting an externally authenticated user to the Essbase authenticated mechanisms. This password is ignored in other situations, including retrieving information from the server on the externally authenticated user.
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 Integer | LockedOut | Flag that user is locked out.
As Integer | PwdChgNow | Flag that user must change password.
As String * ESB_PROTOCOLNAMELEN | protocol | The External authentication protocol.
As String * ESB_CONNPARAMLEN | connparam | The External authentication connection.