Ooops, I misread the question.

Markus is correct.

Here is the RQL
<IODATA
loginguid="36D178E3022B4D36BFA228F78B311361"><ADMINISTRATION><USER
guid="34BD6A02E37243DB8D27D3680D99AC71"><PROJECTS action="listgroups"/
></USER></ADMINISTRATION></IODATA>

Please supply your own loginguid and userguid

Here is the RQL response format
<IODATA>
<PROJECTS>
<PROJECT guid="95A16D11EF9C41A1808F124DE970244D" name="Test Project">
<GROUPS>
<GROUP guid="ADE58D42E2124388A64BCF0B4B5AF208" name="test" checked="1"/
>
<GROUP guid="46698E29A12D4B758A75A1FCE59F4F03" name="test2"
checked="1"/>
</GROUPS>
</PROJECT>
</PROJECTS>
</IODATA>

Please note that the user must first be assigned to a project, then a
group in the project.  If the user belongs to a group in the project,
but is not assigned to the project, this does not work.

On Oct 4, 10:06 pm, markus giesen <[email protected]> wrote:
> You might need some RQL, but you'd have to double check that this RQL
> can be executed by every user and doesn't need SmartTree access.
> What exactly are you trying to achieve?
>
> On 5 Okt., 05:22, Jian Huang <[email protected]> wrote:
>
> > Hi,
>
> > Would authorization and detail authorization based on groups be
> > possible in this case?
>
> > On Oct 4, 3:59 am, TonyGayter <[email protected]> wrote:
>
> > > Is there a way to get the groups the current logged in user is a
> > > member of, I want to do similar logic to .net roles for example
>
> > > If user a is in the super user group then let him see the following.
>
> > > I dont mean the access levels like admin, editor visitor etc... but
> > > groups (the ones you make and assign user to)
>
> > > Any help would be greatly appreciated. I cant see anyway to do it in
> > > rendertags or info fields and I would prefer to avoid RQL as its such
> > > a simple thing

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.

Reply via email to