[opencms-dev] Get current user

Corsin Camichel cocaman at gmail.com
Thu Feb 9 18:31:41 CET 2006


Please tate a look at the alkacon-documentation

here
/alkacon-documentation/documentation_scriptlet/docu_method_user.html
or here
/alkacon-documentation/documentation_taglib/docu_tag_user.html

JSP:
<%
org.opencms.jsp.CmsJspActionElement cms = new
org.opencms.jsp.CmsJspActionElement(pageContext, request, response);

out.println(cms.user("firstname"));
out.println(cms.user("lastname"));
%>

Taglib:
<cms:user property="firstname"/> <cms:user property="lastname"/>

On 2/9/06, Nelav Nelav <nelav80_2 at yahoo.es> wrote:
> Hi,
>
> Is it possible to know what user is currently logged
> in the OpenCms and how?
>
> Thanks,
> Nelav
>
--
Corsin Camichel
cocaman at gmail.com



More information about the opencms-dev mailing list