I want to exploit the memberOf attribute of AD user accounts and already import that information through LDAP Import.
I also created another LDAP mapping to import AD group information into a new BO (called ADGroups).
The memberOf attribute contains the list of group-DNs for a particular user. What I want to do now is to link the employee with the groups she's member of, based on that group list.
Unfortunately I cannot come up with an idea how to achieve this.
Somehow I would need to traverse the text field, which contains the memberOf information, extract each DN, and link the corresponding ADGroup; but how?