Hi,
Is there a way to get an audit trail of Member logins, not user logins. I want to be able to say Member X has logged in Y number of times. I can't seem to find a table in the database that allows for this information. Is it possible?
I don't think this gets logged out of the box, but you could easily log that info yourself if you want to. You could add an extra table to log the info into and then add some code to your login controller to log that the member successfully logged in. You could also log unsuccessful logins as well to keep an eye out for hacking attempts and the like if you wanted to.
maybe our security package (https://our.umbraco.com/packages/backoffice-extensions/perplex-security-and-gdpr-package/) gives you a quick start.
The only thing you would have to do is add one line of code to log actions (per action of course). In return it will give you some nice dashboarding in the backend:
Thanks Jeffrey - after a bit of digging around the databases, we've actually found that there is a last login date available, we just don't have a count of how many times they have logged in but I don't think that actually matters now.
I'll have a look at your package as well though, could be useful for a couple of things we are working with.
Finding audit of Umbraco Members
Hi, Is there a way to get an audit trail of Member logins, not user logins. I want to be able to say Member X has logged in Y number of times. I can't seem to find a table in the database that allows for this information. Is it possible?
Thanks,
I don't think this gets logged out of the box, but you could easily log that info yourself if you want to. You could add an extra table to log the info into and then add some code to your login controller to log that the member successfully logged in. You could also log unsuccessful logins as well to keep an eye out for hacking attempts and the like if you wanted to.
Cheers Tim! That will be why I can't find the information! :)
I guess I will need to build something custom then.
Hi Owain,
maybe our security package (https://our.umbraco.com/packages/backoffice-extensions/perplex-security-and-gdpr-package/) gives you a quick start.
The only thing you would have to do is add one line of code to log actions (per action of course). In return it will give you some nice dashboarding in the backend:
Hope it helps,
Jeffrey
Thanks Jeffrey - after a bit of digging around the databases, we've actually found that there is a last login date available, we just don't have a count of how many times they have logged in but I don't think that actually matters now.
I'll have a look at your package as well though, could be useful for a couple of things we are working with.
is working on a reply...