0

Using this code I can add user to group

val addUser: Modification = Modification(ModificationType.ADD, "member", userDn)
val ldapResult = ldapConnectionPool.modify(groupDn, addUser)

Now I want to add user to multiple groups.

I underdstand that I can use loop but it will require multiple ldap requests. Is there way to do it using single ldap request ?

gstackoverflow
  • 36,709
  • 117
  • 359
  • 710

0 Answers0