Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Inactive Users in my website.

Avatar

Level 1

I'd like to know if there is a way that inactive (A month without logging in) users can be deactivated or deleted.  A way to automatically deactivate accounts would be helpfull, Is it possible to do something in LDAP Authentication? 

1 Accepted Solution

Avatar

Correct answer by
Level 10
1 Reply

Avatar

Correct answer by
Level 10

You can write an AEM service using this API:

http://jackrabbit.apache.org/api/2.4/org/apache/jackrabbit/api/security/user/Authorizable.html

This API lets you delete users.