ldap3.extend.microsoft.removeMembersFromGroups module

ldap3.extend.microsoft.removeMembersFromGroups.ad_remove_members_from_groups(connection, members_dn, groups_dn, fix)
  • connection – a bound Connection object
  • members_dn – the list of members to remove from groups
  • groups_dn – the list of groups where members are to be removed
  • fix – checks for group existence and existing members

a boolean where True means that the operation was successful and False means an error has happened

Removes users-groups relations following the Activwe Directory rules: users are removed from groups’ member attribute