[AEM 6.1] Bulk User Delete | Community
Skip to main content
Level 2
May 11, 2017
Solved

[AEM 6.1] Bulk User Delete

  • May 11, 2017
  • 4 replies
  • 3574 views

Hi All,

What would be a better way to bulk delete users from AEM 6.1 author (like server/computer accounts not needed on AEM) which got synched from our Active Directory? This number is quite big ~ around 5000.

Appreciate your help!

 

Thanks,

Ramya

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 MC_Stuff

Hi Ramya,

  Since it synced from ldap.  Configure the ldap filter such that it will not return the user no more needed. Then from osgi run purge on ldap mbean.

Thanks,

4 replies

MC_Stuff
MC_StuffAccepted solution
Level 10
May 12, 2017

Hi Ramya,

  Since it synced from ldap.  Configure the ldap filter such that it will not return the user no more needed. Then from osgi run purge on ldap mbean.

Thanks,

Level 2
May 22, 2017

Hi,

Thanks for your advise!

I was looking to purge the orphaned users using the LDAP MBean. The Jackrabbit Api does not clearly mention what the orphaned users are.  I see that the some of the users returned in Orphaned users list are still active users in the Active directory. Do you know what the Orphaned users are?  

Thanks,

Ramya

MC_Stuff
Level 10
May 23, 2017

Hi Ramya,

The user exist in AEM but not available in ldap OR disabled in ldap.  Your filter plays a major role here to get right set of valid ldap users.

Thanks,

viperortonrandy
June 28, 2018

Hi , how exactly to add this filter and where do we configure this?
I need to delete all synced users from LDAP from AEM altogether.

Thanks in advance.