Kunwar,
Dynaments works only in DS and RQL works only in MS. Using dynaments you cannot get any management server information, because those are executes only in Delivery Server during runtime. For your scenario You should use only RQL to get the information in management server. Having said that, You are expecting authorization roles of the current user (EX: Ad,Ed,Au) during runtime from Management server, this is not possible unless you use some sort of AJAX based on demand call to ASP which resides in Management server from DS during runtime. Thanks, Anil On Friday, February 8, 2013 4:08:32 AM UTC-6, 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.
