Add Member To Groups
Add a single member to multiple groups.
Introduction
Section titled “Introduction”Before using this valve the LdapClient module must be configured and deployed with matching name as defined in "namespace"
Configuration
Section titled “Configuration”| Name | Description | Default value | Mandatory | Expanded |
|---|---|---|---|---|
namespace | Bind to LdapClient module. | "default" | ||
member_id | User/Member id. | |||
groups_identifier | JsonArray with group objects or group DNs. | "@json:${request.ad_pending_add.all}" | ||
id_property | Property on JSON object that contains the group DN. | "id" |
{ "name": "ActiveDirectoryAddMemberToGroups", "config": { "namespace": "ldap01", "member_id": "${request.selected_ad_id}", "id_property": "id", "groups_identifier": "@json:${request.ad_pending_add.all}" }}Example pipe data
Section titled “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" }],