I need to get the information about the user actually logged (as SPUser) inside an event receivers.
The following line:
Dim currentUser As SPUser = SPContext.Current.Web.CurrentUser
does not work because Current is set to Nothing (null).
I read around that this is due to the asynchronous nature of event receivers but then, how to get the user information I need?
EDIT: I am using ItemCheckingIn
receiver to try block a user to check in a file checked out by another user.
Thank you in advance for any help