PELogOnInfo

PELogOnInfo contains log on information that is used by PEGetNthTableLogOnInfo; PESetNthTableLogOnInfo; PELogOnServer; and PELogOffServer for logging on and off SQL and password-protected non-SQL databases.

C Syntax
typedef struct PELogOnInfo {
    WORD StructSize;
    char ServerName [PE_SERVERNAME_LEN];
    char DatabaseName [PE_DATABASENAME_LEN];
    char UserID [PE_USERID_LEN];
    char Password [PE_PASSWORD_LEN];
} PELogOnInfo;
Members

StructSize

Specifies the size of the PELogOnInfo structure. Initialize this member to PE_SIZEOF_LOGON_INFO.

ServerName

Specifies the logon name for the server (of length PE_SERVERNAME_LEN = 128, NULL-terminated) used to create the report. See Remarks below.

DatabaseName

Specifies the database logon name (of length PE_DATABASENAME_LEN = 128, NULL-terminated) for the database used to create the report. See Remarks below.

UserID

Specifies the user I.D (of length PE_USERID_LEN = 128, NULL-terminated) necessary to log on to the server. See Remarks below.

Password

Specifies the password (of length PE_PASSWORD_LEN = 128, NULL-terminated) necessary to log on to the server. See Remarks below.

Remarks

    Sample,Basic

VB Type Listing
Type PELogOnInfo
    StructSize As Integer
    ServerName As String * PE_SERVERNAME_LEN
    DatabaseName As String * PE_DATABASENAME_LEN
    UserID As String * PE_USERID_LEN
    Password As String * PE_PASSWORD_LEN
End Type
Delphi Record Listing
type
    PELogonServerType = array[0..PE_SERVERNAME_LEN-1] of char;
    PELogonDBType = array[0..PE_DATABASENAME_LEN-1] of char;
    PELogonUserType = array[0..PE_USERID_LEN-1] of char;
    PELogonPassType = array[0..PE_PASSWORD_LEN-1] of char;
    PELogOnInfo = record
        StructSize: Word;
        ServerName: PELogonServerType;
        DatabaseName: PELogonDbType;
        UserId: PELogonUserType;
        Password: PELogonPassType;
    end;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com