I have an issue regarding the delete of a user from an Active Directory wich is integrated with eXo Platform. In fact, after deleting it, and checking in the User Management from eXo side, I found that all his informations are cleared except his username. Thus, I assumed that it's not well removed (i.e removed from the LDAPIdentityStore and NOT from HibernateIdentityStore).
By consequent, I would like to build a Rest Service which check if a specific user is in LDAPIdentityStore or in HibernateIdentityStore and then remove it.
Does anybody know HOW to do this? I mean How to distingush the store location of a user programmatically?