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

[AEM 6.1] Bulk User Delete

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.
MC_Stuff
MC_StuffAccepted solution
Level 10
May 12, 2017 6:05 AM UTC

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

viperortonrandy
New Participant
Jun 28, 2018 9:31 AM UTC

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.

Translate
MC_Stuff
Level 10
May 23, 2017 2:36 AM UTC

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,

Translate
Level 2
May 22, 2017 9:45 PM UTC

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

Translate
MC_Stuff
MC_StuffAccepted solution
Level 10
May 12, 2017 6:05 AM UTC

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,

Translate