Can I get the logged in user inside of a SaveEventHandler
I am working on some member auditing stuff and need to find out if a user changed a member details, if they did I need to get hold of the user id for logging purposes. Is this possible and if so how can I get the current user from inside my event handler. Not sure if I am having a blonde moment or if it just isn't possible?
Can I get the logged in user inside of a SaveEventHandler
I am working on some member auditing stuff and need to find out if a user changed a member details, if they did I need to get hold of the user id for logging purposes. Is this possible and if so how can I get the current user from inside my event handler. Not sure if I am having a blonde moment or if it just isn't possible?
Simon,
User.GetUser() should do the trick
Cheers,
/Dirk
Aha, so it was a dumb moment - thanks.
Is there a difference between:
and
I will shut up now, there obviously is as one requires a parameter. Having a very bad day after the lack of sleep last night.
is working on a reply...