Do action at login and logout

marvinqvistmarvinqvist Member Posts: 53
Hi,

Before version 4.0 it was easy to run a function when the mainmenu was opened and closed. But how can this be done in the later versions?

I would like a simple function to be run when a user is logging in and logging out of Navision. Where can I place the function-call ?

/MQ

Comments

  • JedrzejTJedrzejT Member Posts: 267
    Try function LogInStart, LogInEnd in CU 1
  • matttraxmatttrax Member Posts: 2,309
    Search Codeunit 1 for the appropriate methods. You'll have to decide if you want it when they login or open a company. There are functions LoginStart, LoginEnd, CompanyOpen, and CompanyClose.

    Be careful doing this. You can make your database inaccessible so do this in a development environment first.
  • marvinqvistmarvinqvist Member Posts: 53
    Great thanks a lot.! :)
Sign In or Register to comment.