Hi Kunwar, what do you mean with current user? When a user edits a page then this user is obviously the current user of this page. But as soon as the user logs off, the page doesn't have a "current" user. That menas if the page is published to the Delivery Server you can just publish information about the user who edited the page the last time or the user who released the page but I think during the publication process there is no current user. Did you try the info elements? There are information about the last editor (name, mail)?
Cheers, Manuel On Friday, February 8, 2013 11:08:32 AM UTC+1, Kunwar wrote: > > Hi, > > We have a requirement to find the the authorization role of the current > user (Ad,Ed,Au) as in the project Assignment in OT WSM 10.1 and publish > this role over to the Delivery Server where I can use this information to > do some further tasks. > > > As I am new to RQL & Dynament coding,Could anyone please help me with this > or suggest some other approach which can fetch me this info. I had gone > through the RQl documentation and tried to implement this but no success. > > <dynaments> > <rde-dm:user mode="load" user="<%!! Context:CurrentUserId !!%>"> > role : <rde-dm:attribute mode="read" > attribute="rde-edit-user.rde-roles.role"/> > </rde-dm:user> > </dynaments> > > Regards, > Kunwar > -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/reddot-cms-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
