Attachmate.Reflection.Objects.Emulation.OpenSystems Library > Terminal Object : CreditCardRecognized Event |
This event occurs when an unredacted Primary Account Number (PAN) is copied from the terminal (for example, when the PAN is copied to the clipboard).
This event is enabled by configuring settings on the Setup Information Privacy dialog box. For more information, see "Logging Credit Card Access" in the InfoConnect VBA Guide.
private Sub Terminal_CreditCardRecognized ( ByVal sender As Object, _ ByVal accountNumber As String, _ ByVal user As String, _ ByVal machineName As String, _ ByVal userDomainName As String, _ ByVal dateTime As String, _ ByVal eventType As String, _ ByVal success As Long _ )
This event occurs only when a PAN is copied in its entirety ("in the clear"). It is not fired when only redacted PANs are copied.
Rem This sample sends information about credit card access to a log file. Private Sub Terminal_CreditCardRecognized(ByVal sender As Variant, ByVal AccountNumber As String, ByVal User As String, _ ByVal MachineName As String, ByVal UserDomainName As String, ByVal DateTime As String, ByVal EventType As String, ByVal success As Long) Dim accessLog As String Dim path As String Dim fnum As Integer accessLog = "Account number: " + AccountNumber + " User: " + User + _ " Machine name: " + MachineName + "," + " Time: " + DateTime path = "C:\Users\Public\Documents\Micro Focus\InfoConnect\" & "log.txt" fnum = FreeFile() Open path For Append As fnum Print #fnum, accessLog Close #fnum End Sub