Is there a way to get the list of total active users in AEM ? | Community
Skip to main content
BrijeshYadav
Level 5
September 7, 2022
Solved

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

  • September 7, 2022
  • 3 replies
  • 3751 views

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 ? 

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 Chandra_Hire

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

3 replies

milind_bachani
Adobe Employee
Adobe Employee
September 7, 2022

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-e2035021cb9e

 
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

 

BrijeshYadav
Level 5
September 12, 2022

I meant "Active Session"

Adobe Employee
September 7, 2022
Chandra_Hire
Chandra_HireAccepted solution
Level 4
September 7, 2022

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