Add Member To Groups

Add a single member to 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: ActiveDirectoryAddMemberToGroups

NameDescriptionDefault valueMandatoryExpanded

namespace

Bind to LdapClient module.

"default"

member_id

User/Member id.

groups_identifier

JsonArray with group objects.

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

Example pipe data

  "selected_ad_id" : "CN=Britt Thomasson,OU=Demo,DC=company,DC=local",
  "ad_pending_add": [
    {
        "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"
    }
],