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

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

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.
Chandra_Hire
Chandra_HireAccepted solution
Level 4
Sep 7, 2022 3:22 PM UTC

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

4 replies

Chandra_Hire
Chandra_HireAccepted solution
Level 4
Sep 7, 2022 3:22 PM UTC

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

Translate
Employee
Sep 7, 2022 1:52 PM UTC

Hi @brijeshyadav ,

 

Please go through the below link

https://medium.com/tech-learnings/adobe-experience-manager-reporting-on-users-last-login-date-e2035021cb9e

 

Hope this helps!!

Thanks

Translate
milind_bachani
Employee
Sep 7, 2022 7:17 AM UTC

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

 

Translate
BrijeshYadav
Level 5
Sep 12, 2022 7:24 AM UTC

I meant "Active Session"

Translate