How to get the user group information that the user belongs to in the Custom report. | Community
Skip to main content
Var
Level 4
October 16, 2015
Solved

How to get the user group information that the user belongs to in the Custom report.

  • October 16, 2015
  • 2 replies
  • 810 views

Hi,

I am following the http://dev.day.com/docs/en/cq/5-6/developing/developing-reports.html

How to get the user group information into the custom report. I tried by using the "P:property [String] = "rep:Group"" for the queryBuilder node as property.

 N:queryBuilder [nt:unstructured]
                P:property [String] = "rep:Group" instead of   P:property [String] = "jcr:path"

 

but still no luck.[img]UserGroup.PNG[/img]

 

Thanks in Advance

Var

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

Group information is not stored in user node and also at groups we use members id to store reference. Looks like your configuration and mapping is not correct.

2 replies

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

Group information is not stored in user node and also at groups we use members id to store reference. Looks like your configuration and mapping is not correct.

Community Advisor
October 16, 2015

How to get group information? What is the correct way to configure mapping