Table s_login |
Description: Log of all the log-ins/log-in attempts to the system, and of log-outs from the system (activities on user accounts themselves are recorded in s_user_account_activity). |
PRIMARY KEY | ||
s_login_process_id_r
integer NOT NULL | OpenPetra process ID; this is a unique key | |
s_user_id_c
varchar (20) NOT NULL | This is the system user id. Each user of the system is allocated one. | |
s_time_i
integer default: 0 NOT NULL | Time of the login/login attempt/logout. | |
s_date_d
date NOT NULL | Date of the login/login attempt/logout. | |
s_login_type_c
varchar (50) NOT NULL | Type of the login/logout record. This is a hard-coded constant value (there's no 'lookup table' for it); for available values and their meaning please check program code (TLoginLog Class). | |
s_login_details_c
varchar (500) | Details/description of the login/login attempt/logout. This is a localised string, i.e. it can be recorded in the language of the Site! Refer to s_login_type_c for exact identification of what the recorded account activity is about if text in here can't be understood because it is recorded in a foreign language. | |
s_login_process_id_ref_i
integer | Reference to s_login_process_id_r (OpenPetra process ID of the login record) - only set for a record of s_login_status_type_c 'LOGOUT' (connects the logout log entry with the corresponding login log entry.) | |
s_date_created_d
date default: CURRENT_DATE | The date the record was created. | |
s_created_by_c
varchar (20) | User ID of who created this record. | s_user |
s_date_modified_d
date | The date the record was modified. | |
s_modified_by_c
varchar (20) | User ID of who last modified this record. | s_user |
s_modification_id_t
timestamp default: CURRENT_TIMESTAMP | This identifies the current version of the record. | |
FOREIGN KEY s_login_fkcr: s_created_by_c => s_user s_login_fkmd: s_modified_by_c => s_user |