OpenPetra
Free Administration Software for Non-Profits
|
Adds records to the s_login DB Table. That DB Table contains a log of all the log-ins/log-in attempts to the system, and of log-outs from the system. More...
Static Public Member Functions | |
static void | AddLoginLogEntry (String AUserID, String ALoginType, String ALoginDetails, out Int32 AProcessID, TDBTransaction ATransaction) |
Adds a record to the s_login DB Table. That DB Table contains a log of all the log-ins/log-in attempts to the system, and of log-outs from the system. More... | |
static void | RecordUserLogout (String AUserID, int AProcessID, TDBTransaction ATransaction) |
Records the logging-out (=disconnection) of a Client to the s_login DB Table. That DB Table contains a log of all the log-ins/log-in attempts to the system, and of log-outs from the system. More... | |
Static Public Attributes | |
const string | LOGIN_STATUS_TYPE_LOGIN_SUCCESSFUL = "LOGIN_SUCCESSFUL" |
User login was successful. More... | |
const string | LOGIN_STATUS_TYPE_LOGIN_SUCCESSFUL_SYSADMIN = "LOGIN_SUCCESSFUL_SYSADMIN" |
User login of a user that has got SYSAMIN privileges was successful. More... | |
const string | LOGIN_STATUS_TYPE_LOGIN_ATTEMPT_PWD_WRONG = "LOGIN_ATTEMPT_PWD_WRONG" |
A login attempt was made for a User ID but the password provided was wrong. More... | |
const string | LOGIN_STATUS_TYPE_LOGIN_ATTEMPT_PWD_WRONG_ACCOUNT_GOT_LOCKED |
A login attempt was made for a User ID but the password provided was wrong and the permitted number of failed logins in a row got exceeded. Because of this the user account for the user got locked! More... | |
const string | LOGIN_STATUS_TYPE_LOGIN_ATTEMPT_FOR_NONEXISTING_USER = "LOGIN_ATTEMPT_FOR_NONEXISTING_USER" |
A login attempt was made for a UserID that doesn't exist. More... | |
const string | LOGIN_STATUS_TYPE_LOGIN_ATTEMPT_FOR_LOCKED_USER = "LOGIN_ATTEMPT_FOR_LOCKED_USER" |
A login attempt was made for a UserID whose user account is Locked. More... | |
const string | LOGIN_STATUS_TYPE_LOGIN_ATTEMPT_FOR_RETIRED_USER = "LOGIN_ATTEMPT_FOR_RETIRED_USER" |
A login attempt was made for a UserID that is Retired. More... | |
const string | LOGIN_STATUS_TYPE_LOGIN_ATTEMPT_WHEN_SYSTEM_WAS_DISABLED = "LOGIN_ATTEMPT_WHEN_SYSTEM_WAS_DISABLED" |
A login attempt was made while the System was Disabled. More... | |
Adds records to the s_login DB Table. That DB Table contains a log of all the log-ins/log-in attempts to the system, and of log-outs from the system.
Calls methods that have the same name in the Ict.Petra.Server.App.Core.Security.LoginLog Namespace to perform its functionality!
|
inlinestatic |
Adds a record to the s_login DB Table. That DB Table contains a log of all the log-ins/log-in attempts to the system, and of log-outs from the system.
AUserID | UserID of the User for which a record should be written. |
ALoginType | 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 (Ict.Petra.Server.MSysMan.Security.TLoginLog Class). |
ALoginDetails | Details/description of the login/login attempt/logout |
AProcessID | 'Process ID'; this is a unique key and comes from a sequence (seq_login_process_id). |
ATransaction | Instantiated DB Transaction. |
|
inlinestatic |
Records the logging-out (=disconnection) of a Client to the s_login DB Table. That DB Table contains a log of all the log-ins/log-in attempts to the system, and of log-outs from the system.
AUserID | UserID of the User for which a logout should be recorded. |
AProcessID | ProcessID of the User for which a logout should be recorded. This will need to be the number that got returned from an earlier call to AddLoginLogEntry(string, string, string, out int, TDBTransaction)! |
ATransaction | Instantiated DB Transaction. |
|
static |
A login attempt was made for a UserID whose user account is Locked.
|
static |
A login attempt was made for a UserID that doesn't exist.
|
static |
A login attempt was made for a UserID that is Retired.
|
static |
A login attempt was made for a User ID but the password provided was wrong.
|
static |
A login attempt was made for a User ID but the password provided was wrong and the permitted number of failed logins in a row got exceeded. Because of this the user account for the user got locked!
|
static |
A login attempt was made while the System was Disabled.
|
static |
User login was successful.
|
static |
User login of a user that has got SYSAMIN privileges was successful.