Remove Member From Groups

Remove a single member from multiple groups.

Introduction

Before using this valve the LdapClient module must be configured and deployed with matching name as defined in "namespace"

Configuration

Valve name: ActiveDirectoryRemoveMemberFromGroups

NameDescriptionDefault valueMandatoryExpanded

namespace

Bind to LdapClient module.

"default"

member_id

User/Member id.

groups_identifier

JsonArray with group objects.

"@json:{{{request.ad_pending_remove.all}}}"

Example pipe data

  "selected_ad_id" : "CN=Britt Thomasson,OU=Demo,DC=company,DC=local",
  "ad_pending_remove": [
    {
        "id": "CN=AWS administrator,OU=access_review,OU=Governance,OU=IdM_demo,OU=Product_Testing,DC=company,DC=local",
        "description": "Test",
        "cn": "AWS administrator",
        "sAMAccountName": "AWS administrator"
    },
    {
        "id": "CN=Cert Publishers,CN=Users,DC=company,DC=local",
        "description": "Members of this group are permitted to publish certificates to the directory",
        "cn": "Cert Publishers",
        "sAMAccountName": "Cert Publishers"
    }
],