Codeunit LogInManagement

ID 40
Namespace: System.Environment

Properties

Name Value
Permissions TableData "Company Information" = r, TableData "G/L Entry" = r, TableData "General Ledger Setup" = r, TableData Customer = r, TableData Vendor = r, TableData Item = r, TableData User = r, TableData "User Personalization" = rm, TableData "User Time Register" = rimd, TableData "My Customer" = rimd, TableData "My Vendor" = rimd, TableData "My Item" = rimd, TableData "My Account" = rimd, TableData "Windows Language" = r
SingleInstance True
InherentEntitlements X
InherentPermissions X

Methods

CompanyClose

procedure CompanyClose()

GetDefaultWorkDate

[InherentPermissions(TableData,17,r)]
procedure GetDefaultWorkDate(): Date

Returns

Type Description
Date

Events

OnBeforeCompanyClose

[IntegrationEvent(False,False)]
local procedure OnBeforeCompanyClose()

OnAfterCompanyClose

[IntegrationEvent(False,False)]
local procedure OnAfterCompanyClose()

OnLogInEndOnAfterGetUserSetupRegisterTime

[IntegrationEvent(False,False)]
local procedure OnLogInEndOnAfterGetUserSetupRegisterTime(var UserSetup: Record "User Setup")

Parameters

Name Type Description
UserSetup Table System.Security.User."User Setup"

OnShowTermsAndConditions

[IntegrationEvent(False,False)]
local procedure OnShowTermsAndConditions()

OnLoginEndOnBeforeModify

[IntegrationEvent(False,False)]
local procedure OnLoginEndOnBeforeModify(var UserTimeRegister: Record "User Time Register", LogOutTime: Time, LogOutDate: Date)

Parameters

Name Type Description
UserTimeRegister Table Microsoft.Projects.TimeSheet."User Time Register"
LogOutTime Time
LogOutDate Date

OnLoginEndOnBeforeInsert

[IntegrationEvent(False,False)]
local procedure OnLoginEndOnBeforeInsert(var UserTimeRegister: Record "User Time Register", LogInTime: Time, LogOutTime: Time, LogOutDate: Date)

Parameters

Name Type Description
UserTimeRegister Table Microsoft.Projects.TimeSheet."User Time Register"
LogInTime Time
LogOutTime Time
LogOutDate Date

OnBeforeLogInEnd

[IntegrationEvent(False,False)]
local procedure OnBeforeLogInEnd(var LogInDate: Date, var LogInTime: Time)

Parameters

Name Type Description
LogInDate Date
LogInTime Time

See also