[AEM 6.1] Bulk User Delete

Avatar

Avatar

ramya_reddy

Avatar

ramya_reddy

ramya_reddy

11-05-2017

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

MC_Stuff

Avatar

MC_Stuff

MC_Stuff

11-05-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,

Answers (3)

Answers (3)

Avatar

Avatar

viperortonrandy

Avatar

viperortonrandy

viperortonrandy

28-06-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.

Avatar

Avatar

MC_Stuff

Avatar

MC_Stuff

MC_Stuff

22-05-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,

Avatar

Avatar

ramya_reddy

Avatar

ramya_reddy

ramya_reddy

22-05-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