Is there any event subscriber for that, Any guidance wil be great ,Thanks
The user table is a global table. So you do not really need this functionality in my eyes?
So when you disable login for a user that will be global for all companies.
But maybe you mix up the user and the permissions. The permissions are set per company.
Hi,
You can try with the below event
[EventSubscriber(ObjectType::Codeunit, Codeunit::LogInManagement, 'OnBeforeCompanyOpen', '', false, false)]
local procedure OnBeforeCompanyOpen();
begin
end;
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156