Codeunit 9013 User Login Time Tracker Impl.

System Application, System.Security.User

Source AL, 137 lines

src/System Application/App/User Login Times/src/UserLoginTimeTrackerImpl.Codeunit.allines 8 to 23 of 137, Copyright (c) Microsoft Corporation. MIT

codeunit 9013 "User Login Time Tracker Impl."{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    Permissions = tabledata "User Login" = rim,                  tabledata "User Environment Login" = ri;    [InherentPermissions(PermissionObjectType::TableData, Database::"User Login", 'r')]    procedure IsFirstLogin(UserSecurityID: Guid): Boolean    var        UserLogin: Record "User Login";    begin        // if the user exists in the User Login table, they have logged in to the current company in the past.        UserLogin.SetRange("User SID", UserSecurityID);

All 137 lines

Public procedures 7 in 29

IsFirstLogin(UserSecurityID: Guid): Boolean17-29
AnyUserLoggedInSinceDate(FromDate: Date): Boolean17-29
UserLoggedInSinceDateTime(FromDateTime: DateTime): Boolean17-29
CreateOrUpdateLoginInfo()17-29
UserLoggedInEnvironment(UserSecurityID: Guid): Booleannew in 20
GetPenultimateLoginDateTime(UserSecurityId: Guid): DateTimenew in 20

All 8 procedures in 17-29

Changes 1 in 22

List17181920212223242526272829
Procedures31
CreateEnvironmentLoginInfo()new in 22
added

All 4 changes in 17-29