{"title":"Codeunit 40 LogInManagement, events","url":"https://jonas-paprotka.de/ref/codeunit/40-loginmanagement/events/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":40,"name":"LogInManagement","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/codeunit/40-loginmanagement/","json":"https://jonas-paprotka.de/ref/codeunit/40-loginmanagement.json"},"aspect":"events","total":12,"rows":[{"name":"OnAfterLogInStart","sig":"()","named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Replaced with OnAfterLogin in codeunit \"System Initialization\"","tag":"20.0"},"range":"17-22","first":17,"last":22,"obsoleteSince":20,"spans":[{"from":17,"to":19,"named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":20,"to":22,"named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Replaced with OnAfterLogin in codeunit \"System Initialization\"","tag":"20.0"}}]},{"name":"OnAfterLogInEnd","sig":"()","named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Replaced with OnAfterLogin in codeunit \"System Initialization\"","tag":"20.0"},"range":"17-22","first":17,"last":22,"obsoleteSince":20,"spans":[{"from":17,"to":19,"named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":20,"to":22,"named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Replaced with OnAfterLogin in codeunit \"System Initialization\"","tag":"20.0"}}]},{"name":"OnBeforeLogInStart","sig":"()","named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Replaced with OnAfterLogin in codeunit \"System Initialization\"","tag":"20.0"},"range":"17-22","first":17,"last":22,"obsoleteSince":20,"spans":[{"from":17,"to":19,"named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":20,"to":22,"named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Replaced with OnAfterLogin in codeunit \"System Initialization\"","tag":"20.0"}}]},{"name":"OnBeforeCompanyOpen","sig":"()","named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Replaced with OnAfterLogin in codeunit \"System Initialization\"","tag":"20.0"},"range":"17-22","first":17,"last":22,"obsoleteSince":20,"spans":[{"from":17,"to":19,"named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":20,"to":22,"named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Replaced with OnAfterLogin in codeunit \"System Initialization\"","tag":"20.0"}}]},{"name":"OnAfterCompanyOpen","sig":"()","named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Replaced with OnAfterLogin in codeunit \"System Initialization\"","tag":"20.0"},"range":"17-22","first":17,"last":22,"obsoleteSince":20,"spans":[{"from":17,"to":19,"named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":20,"to":22,"named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Replaced with OnAfterLogin in codeunit \"System Initialization\"","tag":"20.0"}}]},{"name":"OnBeforeCompanyClose","sig":"()","named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterCompanyClose","sig":"()","named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnShowTermsAndConditions","sig":"()","named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnLogInEndOnAfterGetUserSetupRegisterTime","sig":"(var Record User Setup)","named":"(var UserSetup: Record \"User Setup\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"18-29","first":18,"last":29,"obsoleteSince":null,"spans":[{"from":18,"to":29,"named":"(var UserSetup: Record \"User Setup\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnLoginEndOnBeforeModify","sig":"(var Record User Time Register, Time, Date)","named":"(var UserTimeRegister: Record \"User Time Register\"; LogOutTime: Time; LogOutDate: Date)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(var UserTimeRegister: Record \"User Time Register\"; LogOutTime: Time; LogOutDate: Date)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnLoginEndOnBeforeInsert","sig":"(var Record User Time Register, Time, Time, Date)","named":"(var UserTimeRegister: Record \"User Time Register\"; LogInTime: Time; LogOutTime: Time; LogOutDate: Date)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(var UserTimeRegister: Record \"User Time Register\"; LogInTime: Time; LogOutTime: Time; LogOutDate: Date)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeLogInEnd","sig":"(var Date, var Time)","named":"(var LogInDate: Date; var LogInTime: Time)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(var LogInDate: Date; var LogInTime: Time)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]}]}