I want to capture the user information of the current logged in user into a database table on login.
Note:
We are in 18.2 version
Discussion posts and replies are publicly visible
As far as I know there's no out-of-the-box capability to do this. Most of the use cases I've seen that involve keeping a database table of user logins, involve parsing/reading the user login log files periodically (like at the end of each day), and then storing that data in whatever way is needed (whether it be a table of all historical logins, or simply updating a particular user's last login time).