#JC-1869: Added possibility to get information about current user inside of plugins