How to retrieve frontend user from lifecycle beforeUpdate?

For that, you need to pass the logged in UserID into API body params from your next.js application.
After that you will get the UserID in the lifecycle params if the data was updated from the Frontend.

1 Like