///<summary>PatNum can be 0.</summary> public static void MakeLogEntry(Permissions permType, int patNum, string logText) { SecurityLog securityLog = new SecurityLog(); securityLog.PermType = permType; securityLog.UserNum = Security.CurUser.UserNum; securityLog.LogText = logText; securityLog.PatNum = patNum; SecurityLogs.Insert(securityLog); }
///<summary>PatNum can be 0.</summary> public static void MakeLogEntry(Permissions permType, int patNum, string logText) { SecurityLog securityLog = new SecurityLog(); securityLog.PermType = permType; securityLog.UserNum = Security.CurUser.UserNum; securityLog.LogText = "From: " + (SystemInformation.ComputerName) + " - " + (logText); securityLog.PatNum = patNum; SecurityLogs.Insert(securityLog); }