Get User or UserDetails in single-addon-module

Is there any way of getting the User or UserDetails in single-addon-module?

Hi,
If you need currently logged in user - use the io.jmix.core.security.CurrentAuthentication bean.