There is a scenario I am facing right now. I have created a Test User and Added him to few groups.
Now I have deleted the user but the user's UUID which is referenced to group is not getting removed from property rep:members in Group.
I am not able to delete that reference even manually from crx as the delete is disabled.
Please help me with this to remove the user reference from group.
My Approach :
Created SQL2 query to fetch the user using rep:principalName and get the node, from that node get UUID and then using that UUID build another SQL2 query get the Group's user belongs to, then I am trying to remove the user reference.