Expand my Community achievements bar.

SOLVED

Is there a way to get the list of total active users in AEM ?

Avatar

Community Advisor

In order to debug some issue we want to get the list of total active users in AEM. Does anyone have come across something like this ? 

1 Accepted Solution

Avatar

Correct answer by
Level 5

Hi @BrijeshYadav 

 

Below query provides list of token nodes for a user having active session (at the time of query execution). Date rage can be adjusted based on the requirement.


p.hits=selective
p.limit=-1
path=/home/users
type=rep:Token
relativedaterange.property=rep:token.exp
relativedaterange.lowerBound=-1s 
p.limit=-1

View solution in original post

4 Replies

Avatar

Employee Advisor

Hi @BrijeshYadav ,

 

By "Active users" - you mean users having active session ?
There is no OOTB way to get the list, you have to implement custom impl, refer :
https://medium.com/tech-learnings/adobe-experience-manager-reporting-on-users-last-login-date-e20350...

 
OR


Do you mean the list of users which are onboarded to aem ?
For the later part you can make use of exporter : 
https://aem4beginner.blogspot.com/how-to-export-list-of-users-from-aem

 

Avatar

Correct answer by
Level 5

Hi @BrijeshYadav 

 

Below query provides list of token nodes for a user having active session (at the time of query execution). Date rage can be adjusted based on the requirement.


p.hits=selective
p.limit=-1
path=/home/users
type=rep:Token
relativedaterange.property=rep:token.exp
relativedaterange.lowerBound=-1s 
p.limit=-1