Hi,

When using cloud security i use the following code to access the
mmbaseuser who is logged in at a page:

<% String
userconstraint="mmbaseusers.username='"+cloud.getUser().getIdentifier()+
"'"; %>
<mm:list path="mmbaseusers" constraints="<%= userconstraint %>">
        <mm:node element="mmbaseusers">
                <!-- do something with the MMBase user logged in at this
page -->
        </mm:node>
</mm:list>

Is there a shorthand for this?

I would like to write something like:

<mm:node number="<%= cloud.getUser().getNode() %>">
        <!-- do something with the MMBase user logged in at this page
-->
</mm:node>

But from the api docs this doesn't seem to be possible.

Thanks in advance,

Regards, Henk.

MMatch / MMbase consultancy en implementatie
T. +31-(0)6-29054903
E. [EMAIL PROTECTED]
I. http://www.mmatch.nl


Reply via email to