Hi,
When a user is added to a group, it can be caught by GroupMembershipCreatedEvent.
How can I find out which user (name/ID) has been added to the group?
Of course I can get all the users from the group in question (ComponentAccessor.groupManager.getGroup("group_name") but I need to find just the added user.
Thanks,
Paul
Hi Paul,
I haven't tested this myself, but based on the javadocs about the GroupMembershipCreatedEvent, I would guess, you have to call the method getEntityName() on the event.
Cheers,
Matthias.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.