CMSUser Viewtool
The CMSUser Velocity Viewtool allows velocity access to the logged in user object and user properties.
The following example shows how the CMSUsersWebAPI Viewtool is mapped in the toolbox.xml file:
<tool> <key>cmsuser</key> <scope>request</scope> <class>com.dotcms.rendering.velocity.viewtools.CMSUsersWebAPI</class> </tool>