How can I retrieve the current user in Java

3
I would like to get the currentuser in my Java code and I don't want to retrieve it with a microflow. How can I do this?
asked
1 answers
3
this.getContext().getSession().getUser();
answered