CMSUser Viewtool

Last Updated: Aug 20, 2021
documentation for the dotCMS Content Management System

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>

On this page

×

We Dig Feedback

Selected excerpt:

×